diff options
| author | shaojinchun <[email protected]> | 2019-11-05 08:41:38 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2019-11-05 08:41:38 +0800 |
| commit | e03ac83ad3d22c578e367550d2ff714b53e79799 (patch) | |
| tree | 5330284b0bd13a61d0c09dd511a4124dc2b5e8ad /src/thread.c | |
| parent | 9a38bba1689ff1e73500584023051cced977a5c5 (diff) | |
将yield状态置于tcb的stat位域中
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index 6f6fa1029a..a88729e52c 100644 --- a/src/thread.c +++ b/src/thread.c @@ -159,7 +159,6 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread, /* tick init */ thread->init_tick = tick; thread->remaining_tick = tick; - thread->can_yield = RT_FALSE; /* error and flags */ thread->error = RT_EOK; |
