提交 15f07a3e 编写于 作者: B bernard.xiong@gmail.com

initial cleanup function of thread to zero.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1070 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 5a600125
......@@ -74,7 +74,8 @@ static rt_err_t _rt_thread_init(struct rt_thread* thread,
thread->error = RT_EOK;
thread->stat = RT_THREAD_INIT;
/* init user data */
/* initialize cleanup function and user data */
thread->cleanup = 0;
thread->user_data = 0;
/* init thread timer */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册