[Kernel] code cleanup for signal.

This commit is contained in:
bernard 2017-12-30 14:46:51 +08:00
parent 7c3d6fbbda
commit 6c7150a5fc
1 changed files with 4 additions and 3 deletions

View File

@ -476,11 +476,12 @@ typedef void (*rt_sighandler_t)(int signo);
#define RT_THREAD_RUNNING 0x03 /**< Running status */
#define RT_THREAD_BLOCK RT_THREAD_SUSPEND /**< Blocked status */
#define RT_THREAD_CLOSE 0x04 /**< Closed status */
#define RT_THREAD_STAT_MASK 0x0f
#define RT_THREAD_STAT_SIGNAL 0x10
#define RT_THREAD_STAT_SIGNAL_READY (RT_THREAD_STAT_SIGNAL | RT_THREAD_READY)
#define RT_THREAD_STAT_SIGNAL_SUSPEND 0x20
#define RT_THREAD_STAT_SIGNAL_MASK 0xf0
/**
* thread control command definitions