Skip to content

Commit 5d2c579

Browse files
committed
---
yaml --- r: 11050 b: refs/heads/master c: e818406 h: refs/heads/master v: v3
1 parent daa7326 commit 5d2c579

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9fa950ec53dc7428d2d4a20ba56a50c21d5606a5
2+
refs/heads/master: e81840607266d8c9af6ac5ddf187174c4689e26b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rt/rust_kernel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ rust_kernel::fail() {
8484

8585
void
8686
rust_kernel::register_task(rust_task *task) {
87-
int new_live_tasks;
87+
uintptr_t new_live_tasks;
8888
{
8989
scoped_lock with(task_lock);
9090
task->user.id = max_task_id++;
@@ -99,7 +99,7 @@ rust_kernel::register_task(rust_task *task) {
9999
void
100100
rust_kernel::release_task_id(rust_task_id id) {
101101
KLOG_("Releasing task %" PRIdPTR, id);
102-
int new_live_tasks;
102+
uintptr_t new_live_tasks;
103103
{
104104
scoped_lock with(task_lock);
105105
task_table.remove(id);

trunk/src/rt/rust_kernel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class rust_kernel {
2727
// Tracks the number of tasks that are being managed by
2828
// schedulers. When this hits 0 we will tell all schedulers
2929
// to exit.
30-
int live_tasks;
30+
uintptr_t live_tasks;
3131
// The next task id
3232
rust_task_id max_task_id;
3333
hash_map<rust_task_id, rust_task *> task_table;

0 commit comments

Comments
 (0)