diff options
author | Lukas Larsson <[email protected]> | 2018-10-11 16:27:34 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-10-23 09:58:40 +0200 |
commit | 4047f7177835928f2205fb728c65247ea68d5d59 (patch) | |
tree | cb99f9cd0f342362b649d6283fcece07d52eec47 /erts/emulator/pcre/ucp.h | |
parent | 090f9543f66cc0c4ea4d1ca63902c300b103f271 (diff) | |
download | otp-4047f7177835928f2205fb728c65247ea68d5d59.tar.gz otp-4047f7177835928f2205fb728c65247ea68d5d59.tar.bz2 otp-4047f7177835928f2205fb728c65247ea68d5d59.zip |
erts: Make thr prgr wakeup current or sched 1
Before this change, it was always the aux thread that was woken
to handle thread progress events scheduled to happen when all
schedulers were going to sleep. This was ok in the pre-OTP-21
implementation when the aux thread just slept on a tse. Now that
it sleeps in the fallback pollset this uses too much cpu so
instead we wake the thread that is doing the request if it is
a managed thread, or else we wake scheduler 1.
Diffstat (limited to 'erts/emulator/pcre/ucp.h')
0 files changed, 0 insertions, 0 deletions