Used with ADL_Main_ControlX2_Create and ADL2_Main_ControlX2_Create to specify how ADL handles API calls when executed by multiple threads concurrently.
More...
Used with ADL_Main_ControlX2_Create and ADL2_Main_ControlX2_Create to specify how ADL handles API calls when executed by multiple threads concurrently.
Declares ADL threading behavior.
◆ ADLThreadingModel
◆ ADLThreadingModel
Enumerator |
---|
ADL_THREADING_UNLOCKED | Default behavior. ADL will not enforce serialization of ADL API executions by multiple threads. Multiple threads will be allowed to enter to ADL at the same time. Note that ADL library is not guaranteed to be thread-safe. Client that calls ADL_Main_Control_Create have to provide its own mechanism for ADL calls serialization.
|
ADL_THREADING_LOCKED | ADL will enforce serialization of ADL API when called by multiple threads. Only single thread will be allowed to enter ADL API at the time. This option makes ADL calls thread-safe. You shouldn't use this option if ADL calls will be executed on Linux on x-server rendering thread. It can cause the application to hung.
|