Merge pull request #3077 from jesven/fix_mempool

修正rt_mp_free有可能唤醒一个错误任务指针的问题
This commit is contained in:
Bernard Xiong
2019-09-17 14:11:14 +08:00
committed by GitHub
3 changed files with 13 additions and 17 deletions
-1
View File
@@ -815,7 +815,6 @@ struct rt_mempool
rt_size_t block_free_count; /**< numbers of free memory block */
rt_list_t suspend_thread; /**< threads pended on this resource */
rt_size_t suspend_thread_count; /**< numbers of thread pended on this resource */
};
typedef struct rt_mempool *rt_mp_t;
#endif