Skip to content

Commit 2635305

Browse files
committed
---
yaml --- r: 6392 b: refs/heads/master c: d52888f h: refs/heads/master v: v3
1 parent 2c2b3a6 commit 2635305

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-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: 5e9f9e8c48374d6b77c4de0b9b691b7b1cc44993
2+
refs/heads/master: d52888f0badf05e183368ac6ba221691e8e2a130

trunk/src/rt/rust_task.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,6 @@ rust_task::grow(size_t n_frame_bytes)
269269

270270
}
271271

272-
void
273-
rust_task::yield() {
274-
yield(0);
275-
}
276-
277272
// Only run this on the rust stack
278273
void
279274
rust_task::yield(size_t time_in_us) {

trunk/src/rt/rust_task.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ rust_task : public kernel_owned<rust_task>, rust_cond
164164
// Print a backtrace, if the "bt" logging option is on.
165165
void backtrace();
166166

167-
// Save callee-saved registers and return to the main loop.
168-
void yield();
169-
170167
// Yields for a specified duration of time.
171168
void yield(size_t time_in_ms);
172169

0 commit comments

Comments
 (0)