[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thread Scheduling - Does NPTL support PTHREAD_SCOPE_PROCESS ?
Hi ,
Does NPTL support PTHREAD_SCOPE_PROCESS ?
As per Threads FAQ information,
PTHREAD_SCOPE_PROCESS was not
supported in LinuxThreads.
Could not find any explicit information whether this
holds
good for NPTL.
But from the design document of NPTL it seems the
PTHREAD_SCOPE_PROCESS value of the "contentionscope"
attribute is not supported.
I would appreciate if somebody pours some thoughts
on this.
Cheers
From
http://pauillac.inria.fr/~xleroy/linuxthreads/faq.html
============================================================
LinuxThreads does not support the
PTHREAD_SCOPE_PROCESS value of the "contentionscope"
attribute. Why?
With a "one-to-one" model, as in LinuxThreads (one
kernel execution context
per thread), there is only one scheduler for all
processes and all threads
on the system. So, there is no way to obtain the
behavior of
PTHREAD_SCOPE_PROCESS.
__________________________________________
Yahoo! DSL ? Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/