diff options
| author | HubretXie <[email protected]> | 2019-04-28 15:14:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-04-28 15:14:42 +0800 |
| commit | 08a9887a28de879bbb4c8801d6c065a45e0beed8 (patch) | |
| tree | 21abaa91d5b0549ec6496412ad928810a27c1f5f /components/drivers/include/ipc/workqueue.h | |
| parent | 25cdd8bba95499656594a1d3dfd42fd014df1f9f (diff) | |
| parent | b57e075867ec075f520863757906ced4d181357e (diff) | |
Merge pull request #3 from RT-Thread/master
sync
Diffstat (limited to 'components/drivers/include/ipc/workqueue.h')
| -rw-r--r-- | components/drivers/include/ipc/workqueue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/drivers/include/ipc/workqueue.h b/components/drivers/include/ipc/workqueue.h index 09dc4354a8..31dbb53ee3 100644 --- a/components/drivers/include/ipc/workqueue.h +++ b/components/drivers/include/ipc/workqueue.h @@ -13,7 +13,8 @@ enum { - RT_WORK_STATE_PENDING, /* Work item pending state */ + RT_WORK_STATE_PENDING = 0x0001, /* Work item pending state */ + RT_WORK_STATE_SUBMITTING = 0x0002, /* Work item submitting state */ }; /** @@ -21,7 +22,7 @@ enum */ enum { - RT_WORK_TYPE_DELAYED, + RT_WORK_TYPE_DELAYED = 0x0001, }; /* workqueue implementation */ @@ -81,4 +82,3 @@ void rt_delayed_work_init(struct rt_delayed_work *work, void (*work_func)(struct #endif #endif - |
