Contention Scope
In POSIX 1003.1c-compliant systems, support for contention scope is optional. Even if the API indicates that priority scheduling is supported, the environment may only allow one policy.
The AIX implementation of POSIX 1003.1c supports both process and system scope threads. The Threads Module maps its
RWContentionScope values to the underlying POSIX 1003.1c API as follows:
Table 1 – AIX: Mapping of RWContentionScope to POSIX 1003.1c values
Threads Module RWContentionScope | POSIX 1003.1c Contention Scope |
---|
RW_THR_PROCESS_SCOPE | PTHREAD_SCOPE_PROCESS |
RW_THR_SYSTEM_SCOPE | PTHREAD_SCOPE_SYSTEM |