2010/5/18 Guido Trotter <[email protected]>: > Basically each job would have a subscribers list, and it would be the > job of the thread which updates the job to also update the subscribers > on the change (by queueing data to be sent to them, which will be done > by asyncore in the main thread at its convenience).
I think there should be more separation between jobs (or mcpu/jqueue) here. Jobs should just notify another thread which will take care of all wait-for-changes requests (comparing previous to current information, etc.). This way you don't delay the job with composing replies to LUXI requests. Michael
