File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
branches/snap-stage3/src/rt Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 9fa950ec53dc7428d2d4a20ba56a50c21d5606a5
4
+ refs/heads/snap-stage3: e81840607266d8c9af6ac5ddf187174c4689e26b
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
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