Fromt the below code, server is creating new thread for every accept() call.
while ( (new_client_fd = tc_getNewClientConnection( listen_fd )) != 0 ) //ACCEPT CALL
memcpy( worker_param, & new_client_fd, sizeof(int) );
/* kick off a thread to service the client */
if ( ! assignWork( jimd_threadpool_p,
FALSE ) )
But if threads are going greater than 86, pthread_create() fails with rc 11
What modification would you suggest here? to avoid thi error?