RE: [reSIProcate] Softphone call object
Technically you are not allowed to do this - dum is not thread safe.
You cannot call dum API's from one thread while dum->process is running
in another thread. Please see the note on the wiki:
http://wiki.resiprocate.org/wiki/index.php?title=DUM_Threading
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Dmytro Bogovych
> Sent: Wednesday, November 16, 2005 2:14 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] Softphone call object
>
> Greetings.
>
> In my softphone application I'm using subclassing AppDialogSet to
store
> specific data - RTP transmitter parameters etc.
>
> I'm trying to finish the established session in the next way:
> 1. Get stored AppDialogSetHandle
> 2. Check if AppDialogSetHandle.isValid()
> 3. If yes - then call AppDialogSetHandle->get()->end()
>
> Stack & DUM are running in first separate thread and this call is
running
> in the second separate thread.
>
> Question:
> Is there chance to get AppDialogSet deleted by first thread between
step 2
> and 3?
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel