> Hi, 
> 
> Thanks for the information about pbind. I'm glad to hear that I can use it to 
> bind threads to processors.
> 
> Is it possible to call pbind from within the application code? When I search 
> for pbind in the Opensolaris source browser i do get a hit. 

Yes, see processor_bind(2)

 
> I'm using POSIX threads, so it would be great if I could create a thread an 
> bind it to a processor immediately afterwards. There is one LWP per thread, 
> right? So, binding the LWP would yield the same result as binding a thread?

Correct.

- akolb

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to