Skip to content

Commit e8b13e8

Browse files
committed
rust_task.h - fix disallow_kill & don't inherit rust_cond
1 parent 424ae44 commit e8b13e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rt/rust_task.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ rust_task_fail(rust_task *task,
120120
size_t line);
121121

122122
struct
123-
rust_task : public kernel_owned<rust_task>, rust_cond
123+
rust_task : public kernel_owned<rust_task>
124124
{
125125
RUST_ATOMIC_REFCOUNT();
126126

@@ -185,7 +185,7 @@ rust_task : public kernel_owned<rust_task>, rust_cond
185185
bool killed;
186186
// Indicates that we've called back into Rust from C
187187
bool reentered_rust_stack;
188-
int disallow_kill;
188+
unsigned long disallow_kill;
189189

190190
// The stack used for running C code, borrowed from the scheduler thread
191191
stk_seg *c_stack;

0 commit comments

Comments
 (0)