pthread_attr_destroy(&attr);
}
/* now create the thread */
if (pthread_create(&SessThread, &attr, (void *(*)(void *)) worker_entry, NULL) != 0) {
pthread_attr_destroy(&attr);
}
/* now create the thread */
if (pthread_create(&SessThread, &attr, (void *(*)(void *)) worker_entry, NULL) != 0) {