Displaying 1 result from an estimated 1 matches for "start_voting".
Did you mean:
start_routing
2008 Sep 29
0
BackgroundRB for multiple parallel tasks: thread or worker?
...room is essentially its own story, with its 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...