diff options
| author | Bernard Xiong <[email protected]> | 2017-04-09 19:12:53 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-04-09 19:12:53 +0800 |
| commit | b1f15366883aac930cb07767a7929d64a61d8a34 (patch) | |
| tree | beef82f24091a6ba0d609e2ffe90398e6b299b18 /include/rtthread.h | |
| parent | 0a0f04069ab71f9084838ab570e2b6516c35f42a (diff) | |
[kernel] Add thread_inited_hook.
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index b8809474f6..d719e4bfb4 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -156,7 +156,8 @@ void rt_thread_timeout(void *parameter); #ifdef RT_USING_HOOK void rt_thread_suspend_sethook(void (*hook)(rt_thread_t thread)); -void rt_thread_resume_sethook(void (*hook)(rt_thread_t thread)); +void rt_thread_resume_sethook (void (*hook)(rt_thread_t thread)); +void rt_thread_inited_sethook (void (*hook)(rt_thread_t thread)); #endif /* |
