Hi!

Just wanted to say that I think I have solved my problem now. I did'nt realize 
that pthread_create returned the LWP ID using the first argument. I used 
thr_self() to get the ID of the "parent" process LWP. 

However, I'm not 100% sure that the number of LWP's are always the same as the 
number of threads. I used "prstat -Lc 1" and by looking at its output it seemed 
to be true for the cases I was running.

Thanks for all the help. 
Mladen
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to