Subj : why my threads do not wake up To : comp.programming.threads From : Jingbo Date : Thu Aug 18 2005 11:05 am Hi, I created 8 threads to do some tasks in parallel. I ran my program on a SunFire which has 8 CPUs. I found that only 2 or 3 threads are working on their tasks. Other threads are waiting in pthread_cond_wait(). I print a message after pthread_cond_wait(), and found out they are never waken up. I'm sure that there are plenty of jobs on the queue and pthread_cond_broadcast() is called and there is no other processes running on the server therefore CPUs are idel and sometimes my program can use all 8 CPUs. My question is, why Solaris did not put my threads on CPU even if there are idel CPUs? Thanks. .