Skip to content

Commit 5358239

Browse files
committed
---
yaml --- r: 24527 b: refs/heads/try2 c: 70070b8 h: refs/heads/master i: 24525: c77f4b2 24523: 4bf03e6 24519: 48786d8 24511: 5a437a0 v: v3
1 parent 353c994 commit 5358239

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: efb3227fb341f91040f408af40e5b95de285944b
8+
refs/heads/try2: 70070b8bbcf2b0f8a4715aa92528cda37ee458ce
99
refs/heads/incoming: 05543fd04dfb3f63b453a331e239ceb1a9a219f9
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/src/libcore/task.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ enum notification {
8888

8989
#[doc = "Scheduler modes"]
9090
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"]
9292
single_threaded,
93-
#[doc = "Tasks are distributed among available CPUs"]
93+
#[doc = "M:N -- Tasks are distributed among available CPUs"]
9494
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"]
9696
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"]
9898
manual_threads(uint),
9999
#[doc = "
100100
Tasks are scheduled on the main OS thread
@@ -168,7 +168,7 @@ Provides detailed control over the properties and behavior of new tasks.
168168
// it only applies to a single task, so then you have to maintain some
169169
// potentially tricky state to ensure that everything behaves correctly
170170
// 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
172172
// the run function move them in.
173173
enum builder {
174174
builder_({

0 commit comments

Comments
 (0)