Hello All, I have a multi-process and multi-threaded application that includes the sofia-sip threads (using 1.12.4). If I call pthread_create() in the context of a grandchild (via fork() invocations) of the original application process, then pthread_create() (of SipMonitor) hangs (never returns).
If I call pthread_create() (of SipMonitor) in the context of the original application process, then everything works fine and I am able to register lines and make calls. This is the code that creates SipMonitor: pthread_t SipMonitorThread; char Arg[20]; if (pthread_create(&SipMonitorThread, NULL, SipMonitorEntry, &Arg) != 0) { printf("\npthread_create of SipMonitorThread FAILED\n\n"); assert(0); return; } printf("\npthread_create of SipMonitorThread SUCCEEDED\n\n"); Does anyone know why? Best Regards, Jerry
<<attachment: winmail.dat>>
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel