aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.cpp
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2020-09-23 11:41:31 +0200
committerTimon Kruiper <timonkruiper@gmail.com>2020-09-23 11:41:31 +0200
commit0eed7ec9d51fe8c0dd22b72da0130ad9d31877d0 (patch)
treeedabf258c98ede7cb8d06cfae73e3e9142ac0a48 /src/tokenizer.cpp
parent58ee5f4e61cd9b7a9ba65798e2214efa3753a733 (diff)
downloadzig-0eed7ec9d51fe8c0dd22b72da0130ad9d31877d0.tar.gz
zig-0eed7ec9d51fe8c0dd22b72da0130ad9d31877d0.zip
Eventloop: Fix deadlock in linux event loop implementation
A simple empty main with evented-io would not quit, because some threads were still waiting to be resumed (by the os). The os.write to the eventfd only wakes up one thread and thus there are multiple writes needed to wake up all the other threads.
Diffstat (limited to 'src/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions