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

Re: [reSIProcate-users] Startup stack thread problem after successful shutdown


Yes I believe so - anytime I've implemented a stack restart, I've completely deleted all of the objects: stack, stackthread, dum, etc.  then recreated them for the restart.

Scott

On Fri, Feb 17, 2012 at 2:45 PM, Nauman Sulaiman <nauman762-home@xxxxxxxxxxx> wrote:
Hi, 

I use the following method to shutdown Dum on resip 1.7. I run the sip stack in a separate thread

dum->shutdown();

when I get the callback onDumCanBeDeleted

mStackThread.shutdown()
mStackThread.join()


THis works fine. However when I try to restart the stack with 

mStackThread.run()

it looks like the stackthread object is stuck in shutdown mode due to a flag in the 
thread object.

Does this mean one must call delete on the stackthread and then construct it again to be
able to run it?

Thanks

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/