>Are Posix Threads are kernel schedulable?
Quote:>I worked with DCE threads in HP-UX 10.20(non threaded Version,). There
>library schedules the threads, and kernel is unaware of these threads.
That's a user level only threading package.
Quote:>I know there is no equivalent of thr_setconcurrency in pthread. I want to
>know whether Solaris Kernel schedules pthreads just like a solaris thread.
Yes. posix threads and Solaris (or really UI - Unix International)
threads are just different APIs to the same underlying thread
implementation. Actually, you can happily mix the two sets of API
calls in the same process or thread, e.g. call thr_setconcurrency
in a program which is written in posix threads. This isn't something
I would necessarily recommend as good practice, but it clearly
demonstrates that the two are just different APIs to the same thread
implementation underneath (and it isn't a case of one running over
the other, either).
Quote:>Also are there any references or documents that differentiates these
The man pages for each function describes the Posix and Solaris
functions side by side, so comparison is easy.
Consultant Software Engineer