>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 i
s 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?
There is no such thing as a "global thread id".
What you are saying:
- process A creates a thread t1 on behalf of B
- B wants A to change the scheduling of t1?
Then "A" will need to give "B" some information with which A can later
identify the thread when B asks for something.
Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code