File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ rust_kernel::fail() {
84
84
85
85
void
86
86
rust_kernel::register_task (rust_task *task) {
87
- int new_live_tasks;
87
+ uintptr_t new_live_tasks;
88
88
{
89
89
scoped_lock with (task_lock);
90
90
task->user .id = max_task_id++;
@@ -99,7 +99,7 @@ rust_kernel::register_task(rust_task *task) {
99
99
void
100
100
rust_kernel::release_task_id (rust_task_id id) {
101
101
KLOG_ (" Releasing task %" PRIdPTR, id);
102
- int new_live_tasks;
102
+ uintptr_t new_live_tasks;
103
103
{
104
104
scoped_lock with (task_lock);
105
105
task_table.remove (id);
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class rust_kernel {
27
27
// Tracks the number of tasks that are being managed by
28
28
// schedulers. When this hits 0 we will tell all schedulers
29
29
// to exit.
30
- int live_tasks;
30
+ uintptr_t live_tasks;
31
31
// The next task id
32
32
rust_task_id max_task_id;
33
33
hash_map<rust_task_id, rust_task *> task_table;
You can’t perform that action at this time.
0 commit comments