File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -88,13 +88,13 @@ enum notification {
88
88
89
89
#[ doc = "Scheduler modes" ]
90
90
enum sched_mode {
91
- #[ doc = "All tasks run in the same OS thread" ]
91
+ #[ doc = "1:N -- All tasks run in the same OS thread" ]
92
92
single_threaded,
93
- #[ doc = "Tasks are distributed among available CPUs" ]
93
+ #[ doc = "M:N -- Tasks are distributed among available CPUs" ]
94
94
thread_per_core,
95
- #[ doc = "Each task runs in its own OS thread" ]
95
+ #[ doc = "N:N -- Each task runs in its own OS thread" ]
96
96
thread_per_task,
97
- #[ doc = "Tasks are distributed among a fixed number of OS threads" ]
97
+ #[ doc = "?:N -- Tasks are distributed among a fixed number of OS threads" ]
98
98
manual_threads( uint ) ,
99
99
#[ doc = "
100
100
Tasks are scheduled on the main OS thread
@@ -168,7 +168,7 @@ Provides detailed control over the properties and behavior of new tasks.
168
168
// it only applies to a single task, so then you have to maintain some
169
169
// potentially tricky state to ensure that everything behaves correctly
170
170
// when you try to reuse the builder to spawn a new task. We'll just
171
- // sidestep that whole issue by making builder's uncopyable and making
171
+ // sidestep that whole issue by making builders uncopyable and making
172
172
// the run function move them in.
173
173
enum builder {
174
174
builder_( {
You can’t perform that action at this time.
0 commit comments