Hi, is this possible in Solaris?

in user-space:

process A is running, its job is to schedule threads.

process B is also running, making a new thread t1, process B wants A to 
schedule this thread t1.

is this possible? that is, I need to get the thread id from thread t1, in 
process B this will just be an int when I use pthread_self(), I get lets say 1. 
That make no sense for process A, since 1 is just the "local" thread id in 
process B.

So how do I get to "global" thread id? and how to best send this to process A?


Thanks
/Micke
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to