diff options
Diffstat (limited to 'core/host')
-rw-r--r-- | core/host/task.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/host/task.c b/core/host/task.c index d004698ed7..b6ab778b60 100644 --- a/core/host/task.c +++ b/core/host/task.c @@ -206,6 +206,11 @@ uint32_t task_set_event(task_id_t tskid, uint32_t event, int wait) return 0; } +uint32_t *task_get_event_bitmap(task_id_t tskid) +{ + return &tasks[tskid].event; +} + uint32_t task_wait_event(int timeout_us) { int tid = task_get_current(); |