diff options
Diffstat (limited to 'core/host/task.c')
-rw-r--r-- | core/host/task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/host/task.c b/core/host/task.c index 44d8082d82..83e51fb83b 100644 --- a/core/host/task.c +++ b/core/host/task.c @@ -28,7 +28,7 @@ struct emu_task_t { pthread_t thread; pthread_cond_t resume; - uint32_t event; + atomic_t event; timestamp_t wake_time; uint8_t started; }; @@ -209,7 +209,7 @@ uint32_t task_set_event(task_id_t tskid, uint32_t event) return 0; } -uint32_t *task_get_event_bitmap(task_id_t tskid) +atomic_t *task_get_event_bitmap(task_id_t tskid) { return &tasks[tskid].event; } |