Skip to content

Commit 88f41e5

Browse files
committed
---
yaml --- r: 14648 b: refs/heads/try c: fa566ad h: refs/heads/master v: v3
1 parent 13b4fe0 commit 88f41e5

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 2465a63a69ea51d4fce10430b6a8fd0079cbbcd5
5+
refs/heads/try: fa566ad2fdf4b2bb63af87b2aa6fda3d5d48ce6d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rt/rust_task.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ rust_task::rust_task(rust_task_thread *thread, rust_task_list *state,
107107
void
108108
rust_task::delete_this()
109109
{
110-
I(thread, !thread->lock.lock_held_by_current_thread());
111-
112110
{
113111
scoped_lock with (lock);
114112
I(thread, port_table.is_empty());

branches/try/src/rt/rust_task_thread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ struct rust_task_thread : public kernel_owned<rust_task_thread>,
4747
{
4848
private:
4949

50+
lock_and_signal lock;
51+
5052
// Fields known only by the runtime:
5153
rust_log _log;
5254

@@ -76,8 +78,6 @@ struct rust_task_thread : public kernel_owned<rust_task_thread>,
7678
rust_scheduler *sched;
7779
rust_srv *srv;
7880

79-
lock_and_signal lock;
80-
8181
rust_task_list newborn_tasks;
8282
rust_task_list running_tasks;
8383
rust_task_list blocked_tasks;

0 commit comments

Comments
 (0)