Comparing rust-lang:master...ian-h-chamberlain:feature/thread-schedule-os-ext · rust-lang/rust (original) (raw)
Checking mergeability… Don’t worry, you can still create the pull request.
- 3 commits
- 13 files changed
- 1 contributor
Commits on Mar 24, 2023
- 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-levelSpawnOptions
inimp::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 ofimp::SpawnOptions
.
Configuration menu
Browse the repository at this point in the history - Configuration menu
Browse the repository at this point in the history