Add a single example each for affinity and priority
Use OS extension traits with exclusively OS-specific types
Document future high-level API possibilities Configuration menu Browse the repository at this point in the history
Move thread::SpawnOptions to sys_common::thread This allows us to use the higher-level SpawnOptions in imp::Thread::new instead, which would probably be nicer to use in the future if e.g. stack size, priority, affinity were added to the higher level struct instead of imp::SpawnOptions. Configuration menu Browse the repository at this point in the history
Configuration menu Browse the repository at this point in the history