[Glade-users] pthread_create error 22



pthread_create returns error return value 22.
what could be the problem??

here's my thread portion..

....
 pthread_attr_init(&g_attr);
pthread_attr_setschedpolicy(&g_attr,SCHED_RR);
       
pthread_attr_setschedparam(&g_attr,&ans_sched_param);
       
pthread_attr_setinheritsched(&g_attr,PTHREAD_EXPLICIT_SCHED);
        if
(0!=pthread_create(&Anthread,&g_attr,(void*)
AnThreadFunc,NULL))
...

Dina.


                
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]