search for: skip_to_vot

Displaying 1 result from an estimated 1 matches for "skip_to_vot".

Did you mean: skip_to_vote
2008 Sep 29
0
BackgroundRB for multiple parallel tasks: thread or worker?
...s own chronology. I know what the election_worker class will look like: start_all_elections()# for create trigger_election(chat_name)# tell Rails Model chat to do election with individual chat stop_voting(chat_name)# Rails tells election_worker no quorum start_voting(chat_name)# quorum is reached skip_to_vote(chat_name)# vote is taken immediately, and clock reset, when Rails detects a recall What I DO NOT know is how to deal with these multiple elections. Are these THREADS inside the election_worker class? If so, how would I set these up? (I''m new to threads). Or are they multiple instances...