[reSIProcate] Dum threading request
Steve Robichaud
srobichaud at upstreamworks.com
Mon Dec 5 16:16:40 CST 2005
Hi,
I believe that previously (quite a while ago) someone posted a question
about adding a method named DialogUsageManager::processNeeded() that
returned the results of mFifo.messageAvailable().
Is there any chance that a method such as this could be added to
DialogUsageManager? Would this be worthwhile to anyone else?
The reason I ask is that I found it simpler to write a DumThread type
class that just checks for messages and then posts an event semaphore.
This way the (different) thread that is running
DialogUsageManager::process() watches the event sem before calling
process() which simplifies the thread synchronization/context switching.
Thanks,
Steve Robichaud
More information about the resiprocate-devel
mailing list