Skip to content

Commit 2c2b3a6

Browse files
committed
---
yaml --- r: 6391 b: refs/heads/master c: 5e9f9e8 h: refs/heads/master i: 6389: de1f542 6387: 3d18097 6383: f3d7655 v: v3
1 parent 018d552 commit 2c2b3a6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 21865ddce662767ff8319732cb55b4cdbc9ea67e
2+
refs/heads/master: 5e9f9e8c48374d6b77c4de0b9b691b7b1cc44993

trunk/src/rt/rust_task.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ struct rust_closure_env {
169169
type_desc *td;
170170
};
171171

172+
// This runs on the Rust stack
172173
extern "C" CDECL
173174
void task_start_wrapper(spawn_args *a)
174175
{
@@ -273,6 +274,7 @@ rust_task::yield() {
273274
yield(0);
274275
}
275276

277+
// Only run this on the rust stack
276278
void
277279
rust_task::yield(size_t time_in_us) {
278280
LOG(this, task, "task %s @0x%" PRIxPTR " yielding for %d us",

0 commit comments

Comments
 (0)