Thread safety and class methods

9 views
Skip to first unread message

cipher_neo

unread,
Feb 21, 2012, 5:04:41 AM2/21/12
to rubyonra...@googlegroups.com
Hey guys, 

using passenger, is it possible that there could be thread safety issues when executing a class method on a model?

I am seeing some weird data in some of my model instances and I think it may be to do with concurrent processing of a class method in a model.

Is this possible, that variables get shared between all threads of execution, when you are accessing a class method? 


#example
def self.somemethod

end
Reply all
Reply to author
Forward
0 new messages