setAffinityPolicy(to:)

Sets the thread’s affinity policy.

ThreadPolicy.swift:119
func setAffinityPolicy(to affinityPolicy: thread_affinity_policy) throws