problem in pthrad_setconcurrency

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

 



I set the councurrency level 10 by
pthread_setconcurrency(10) and started 10 threads to
accomplish some task but the result showed that It was
performed by the 1st thread only and others just
exited blankly. It means others except the 1st thread
didnt get the CPU. 
But, I dont kno what went wrong though I used the
pthread_setconcurrency() function...I am usin kernel
v2.4.21.8 on INTEL p4 with RHEL OS. I had also added
lpthread library while compiling.

Please help me out...Thanx in advance...

Regards,
Jaydeep Chokshi.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux