summaryrefslogtreecommitdiff
path: root/src/regex
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2024-12-13 11:41:54 +0000
committerRich Felker <dalias@aerifal.cx>2024-12-13 11:41:54 +0000
commit561cd07dff8003251729569e5539b00698941697 (patch)
treef6c35c8474ea55c21a795eae4843841c4d79944d /src/regex
parent47fa6e4fcc5f61c365c91a9bc90e7ed8b3a178ef (diff)
downloadmusl-561cd07dff8003251729569e5539b00698941697.tar.gz
SIGEV_THREAD timers: re-block signals when reusing kernel thread
previously, we left any changes made by the application to the timer thread's signal mask active when resetting the thread state for reuse. not only did this violate the intended invariant that timer threads start with all signals blocked; it also allowed application code to execute in a thread that, formally, did not exist. and further, if the internal SIGTIMER signal became unblocked, it could also lead to missed timer expiration events.
Diffstat (limited to 'src/regex')
0 files changed, 0 insertions, 0 deletions