添加lwp类型声明

This commit is contained in:
heyuanjie 2018-07-31 10:38:26 +08:00
parent c79fbd373f
commit 2373a9c7be
1 changed files with 4 additions and 0 deletions

View File

@ -496,6 +496,10 @@ typedef siginfo_t rt_siginfo_t;
#define RT_THREAD_CTRL_CHANGE_PRIORITY 0x02 /**< Change thread priority. */ #define RT_THREAD_CTRL_CHANGE_PRIORITY 0x02 /**< Change thread priority. */
#define RT_THREAD_CTRL_INFO 0x03 /**< Get thread information. */ #define RT_THREAD_CTRL_INFO 0x03 /**< Get thread information. */
#ifdef RT_USING_LWP
struct rt_lwp;
#endif
/** /**
* Thread structure * Thread structure
*/ */