failpthread 130 src/ftdm_threadmutex.c if (pthread_attr_setdetachstate(&thread->attribute, PTHREAD_CREATE_DETACHED) != 0) goto failpthread; failpthread 132 src/ftdm_threadmutex.c if (thread->stack_size && pthread_attr_setstacksize(&thread->attribute, thread->stack_size) != 0) goto failpthread; failpthread 134 src/ftdm_threadmutex.c if (pthread_create(&thread->handle, &thread->attribute, thread_launch, thread) != 0) goto failpthread; failpthread 138 src/ftdm_threadmutex.c failpthread: