ThreadAffinity

ceramic.ThreadAffinity (Abstract)

The kind of CPU cores a thread should run on (see Runner.setThreadAffinity), on devices whose cores are not all the same (big.LITTLE, performance and efficiency cores).

On Android and Linux, the thread is restricted to these cores. On iOS and macOS, it is given a quality of service class that leads the system to these cores, without restricting it. Elsewhere, it has no effect.

Type Conversions

From:

  • [Int](/api-docs/clay-native/Int/)

To:

  • [Int](/api-docs/clay-native/Int/)

Metadata

Name Parameters
:enum -