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

RE: [reSIProcate] Dum threading


You can use the StackThread and DumThread objects to manage these threads for you.  Note:  If you call any of the dum api’s outside of the dum thread you must add mutexing to the process loop in DumThread and your calls.

 

You want to look at repro (repro.cxx) for a sample use of StackThread and DumThread. 

 


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Micky Kaufmann
Sent: Thursday, September 29, 2005 5:14 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] Dum threading

 

Hi all,

 

I looked at the DUM Wiki on DUM threading - http://warsaw.sjc.purplecomm.com/wiki/index.php?title=DUM_Threading.

I’m missing two things there – ‘Howto’ for thread models and a way to separate the application threads from the dum callbacks.

I.e. I wish to handle the dum callbacks in a cpu (thread) different from the thread of the dum stack itself, since the callback code may consume too much time.

 

Did anyone implement something similar?

 

Micky Kaufmann