Concurrency Policy
NOTE: The Concurrency Policy attribute is available under the native API. it is not available under the Solaris POSIX 1003.1c API.
The concurrency policy attribute is supported in the Solaris implementation of the Threads Module, but only while the contention scope is RW_THR_PROCESS_SCOPE.
This attribute is used to tell the underlying threads system that it should create a new LWP when it creates a new unbound thread. By creating new LWPs, the effective concurrency of a multithreaded application can be increased, since LWPs are time-sliced and can be scheduled on different processors.
The Threads Module implementation maps concurrency policies to the underlying API as follows:
RW_THR_NO_CHANGE The thr_create() flags argument excludes the THR_NEW_LWP option. This allows the Solaris threads system to use its own judgment in deciding whether or not to create a new LWP when it creates the new unbound thread. This is the default.
RW_THR_INCREASE The thr_create() flags argument includes the THR_NEW_LWP option, which tells the API create a new LWP when it creates this thread.