> And even if it would be multi threaded it won't work. Every time > store_visits methods is executed new mutex is created, so there won't > be synchronization. > The reason for error message "ThreadError (not owner): /vendor/plugins/sitealizer/lib/sitealizer.rb:80:in `unlock' (...) " is that you call 'unlock' method twice. 'ensure' block is ok, so remove previous calling (a the end of begin block). -- Radosw Bu„Šat http://radarek.jogger.pl - m blog