diff options
| author | SummerGift <[email protected]> | 2019-05-13 14:28:56 +0800 |
|---|---|---|
| committer | SummerGift <[email protected]> | 2019-05-13 14:28:56 +0800 |
| commit | 76431f6b00cb2558f072acf01c442e756c481ad1 (patch) | |
| tree | 36fbeddddda01f4712425d68dcca51322ad5216f /src/thread.c | |
| parent | 960451695b54bf4478a6af74d50e9876c50cf857 (diff) | |
| parent | 9f7cc78b06e45b18d1385a4827e4c03364a13a8f (diff) | |
Merge remote-tracking branch 'remotes/origin/master' into master_lab
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c index 0f2e1dc3d0..276bba9938 100644 --- a/src/thread.c +++ b/src/thread.c @@ -191,7 +191,9 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread, thread->sig_mask = 0x00; thread->sig_pending = 0x00; +#ifndef RT_USING_SMP thread->sig_ret = RT_NULL; +#endif thread->sig_vectors = RT_NULL; thread->si_list = RT_NULL; #endif |
