Skip to content

Commit 328e76b

Browse files
committed
---
yaml --- r: 3941 b: refs/heads/master c: 7d47553 h: refs/heads/master i: 3939: 8175ea9 v: v3
1 parent 01d0dd1 commit 328e76b

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: ced8393f203fc661df7a5a0159a5edfd826eef12
2+
refs/heads/master: 7d475530a0aecbe243813b7cc23136058d114f2d

trunk/src/lib/task.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ native "rust" mod rustrt {
22
fn task_sleep(uint time_in_us);
33
fn task_yield();
44
fn task_join(task t) -> int;
5-
fn task_unsupervise();
5+
fn unsupervise();
66
fn pin_task();
77
fn unpin_task();
88
}
@@ -33,7 +33,7 @@ fn join(task t) -> task_result {
3333
}
3434

3535
fn unsupervise() {
36-
ret rustrt::task_unsupervise();
36+
ret rustrt::unsupervise();
3737
}
3838

3939
fn pin() {

trunk/src/rt/rust_builtin.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,6 @@ task_join(rust_task *task, rust_task *join_task) {
430430
}
431431
}
432432

433-
extern "C" CDECL void
434-
task_unsupervise(rust_task *task) {
435-
task->unsupervise();
436-
}
437-
438433
/* Debug builtins for std.dbg. */
439434

440435
static void

trunk/src/rt/rustrt.def.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ str_vec
5050
task_sleep
5151
task_yield
5252
task_join
53-
task_unsupervise
5453
unsafe_vec_to_mut
5554
unsupervise
5655
upcall_clone_chan

0 commit comments

Comments
 (0)