DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Threads

Bound threads

A thread may become runnable at a time when all LWPs of the process are already executing threads. That thread will be made runnable and enqueued until an LWP becomes available. This implies some latency (time lag) between thread awakening and execution. There may be circumstances where this behavior is not acceptable. (Perhaps the thread must respond to a signal in a timely manner.)

If a thread is created with the THR_BOUND flag to thr_create(S) then

Bound threads are not counted in the algorithm that manages the level of concurrency.


NOTE: Bound threads are not guaranteed to gain processor time whenever they are ready to execute; the LWP on which a bound thread runs must be scheduled to run on a processor by the system scheduler (see ``Bound thread scheduling'').


Next topic: Thread scheduling
Previous topic: Managing threads concurrency

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005