< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Dum threading request


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