detect worker-thread-exit/fail?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

is there a way in Python/pjsua, to detect if the worker thread is
still running?

If the worker thread calls a callback, and the callback raises an
exception, the worker thread exits, and the main program does not
get the exception -- it even doesn't notice that something has gone
wrong. The only way I know to check if the worker-thread is still
running, is to test if account.info().reg_expires is < 0, but there
has to be a better way...

thanks,
Roland


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux