[reSIProcate] RE: Use of StackThread?

Jason Fischl jason at purplecomm.com
Thu Aug 5 11:48:09 CDT 2004


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 at icescape.com]
> Sent: Thursday, August 05, 2004 7:31 AM
> To: 'Jason Fischl'
> Cc: resiprocate-devel at list.sipfoundry.org
> 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 at sipfoundry.org [mailto:svn at sipfoundry.org]
> Sent: Sunday, August 01, 2004 8:27 PM
> To: resiprocate-commit at list.sipfoundry.org
> 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





More information about the resiprocate-devel mailing list