Hi All,
i am getting the following error while compiling the program :
ERROR; return code from pthread_create() is 251
Is anyone have idea what could be the reason or when error number 251 is coming ?
following the loop where i m calling the pthread_create function.
for(t=0;t<NUM_THREADS;t++)
{
printf("Creating thread %d\n", t);
rc = pthread_create(&thread[t], NULL, fn_process, (void *) t);
if (rc)
{
printf("\n ERROR; return code from pthread_create() is %d\n ", rc);
exit(0);
}
}
pls help me to sort out.
thanks.