diff options
| author | xqyjlj <[email protected]> | 2023-10-25 20:31:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-25 20:31:25 +0800 |
| commit | 3283f54c7a0444b2e51ec79a4da57e7871528f05 (patch) | |
| tree | e4bcd748ad2362f16d0dea5c5da62922de466999 /src/signal.c | |
| parent | 91fc52df3635d5dda8285616420f08efa79cea04 (diff) | |
🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)
Signed-off-by: Shell <[email protected]>
Co-authored-by: Shell <[email protected]>
Diffstat (limited to 'src/signal.c')
| -rw-r--r-- | src/signal.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/signal.c b/src/signal.c index 51f92fbde4..9d4b4c4148 100644 --- a/src/signal.c +++ b/src/signal.c @@ -53,17 +53,6 @@ static void _signal_entry(void *parameter) rt_thread_handle_sig(RT_FALSE); #ifdef RT_USING_SMP - { - struct rt_cpu* pcpu = rt_cpu_self(); - - RT_ASSERT(pcpu->current_thread->cpus_lock_nest > 0); - pcpu->current_thread->cpus_lock_nest--; - if (pcpu->current_thread->cpus_lock_nest == 0) - { - pcpu->current_thread->scheduler_lock_nest--; - } - - } #else /* return to thread */ tid->sp = tid->sig_ret; |
