Skip to content
Commit 8e94d8e7 authored by Heesub Shin's avatar Heesub Shin Committed by Gregory Nutt
Browse files

Signal sent from work_signal() may interrupt the low priority worker thread...

Signal sent from work_signal() may interrupt the low priority worker thread that is already running. For example, the worker thread that is waiting for a semaphore could be woken up by the signal and break any synchronization assumption as a result. It also does not make any sense to send signal if it is already running and busy. This commit fixes it.
parent 796969f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment