Subj : Re: why my threads do not wake up To : comp.programming.threads From : roger.faulkner Date : Thu Aug 25 2005 12:33 am Jingbo wrote: > It is Solaris 8. I can not post my code. But I'm trying to derive a > simpler code to demostrate the problem and then post here. Thanks. Ok. The default libthread on Solaris 8 and before needs pthread_setconcurrency() or for threads to be created with PTHREAD_SCOPE_SYSTEM in order to work as you desire/expect. On Solaris 9 and thereafter, you would see no problem. On Solaris 8, you can use the alternate libthread. Either: export LD_LIBRARY_PATH=/usr/lib/lwp or link with: -L/usr/lib/lwp -R/usr/lib/lwp There is no alternate libthread prior to Solaris 8. If you are up-to-date with libthtread patches, the alternate libthread is identical to the only libthread on Solaris 9. Roger Faulkner Sun Microsystems .