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

[reSIProcate] RE: Use of StackThread?


All calls into DialogUsageManager need to be from one thread. However, the
StackThread allows the SipStack to run in its own thread. This is useful
since the SipStack can ensure that additional retransmissions don't occur
while the DUM is off doing something else.

Jason


> -----Original Message-----
> From: Scott Godin [mailto:slgodin@xxxxxxxxxxxx]
> Sent: Thursday, August 05, 2004 7:31 AM
> To: 'Jason Fischl'
> Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Use of StackThread?
>
>
> Hi Jason,
>
> I'm curious how would make use of this threaded process call?
>
> My guess is that this is only useful if you can place all of your
> dum->send calls within the session callbacks themselves - since
> calling dum->send outside of the process thread is not thread safe.
>
> Thanks,
>
> Scott
>
>
>
>
> From: svn@xxxxxxxxxxxxxx [mailto:svn@xxxxxxxxxxxxxx]
> Sent: Sunday, August 01, 2004 8:27 PM
> To: resiprocate-commit@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate-commit] COMMIT: resiprocate 3199 jason
>
> Projectresiprocate
> New Revision3199
> Committerjason (Jason Fischl)
> Date2004-08-01 17:27:07 -0700 (Sun, 01 Aug 2004)
>
> Log
>
>
>  allow dum to run a separate thread for SipStack using
> StackThread. provided a different process call
>
>
>
>
>
>
> Modified:
> main/sip/resiprocate/dum/DialogUsageManager.cxx
> main/sip/resiprocate/dum/DialogUsageManager.hxx