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

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


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