On Feb 1, 2013, at 8:28 AM, yoram@scope5.com wrote:
> You did drive right to the heart of the issue. The lock itself is indeed easy enough. It's the waiting on the lock that i'm not sure how to implement (other than a loop that tests the dbase lock, which doesn't seem right).
What you're looking for is called a "condition variable", and ruby has a class for that.
--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment