diff options
| author | Timon Kruiper <timonkruiper@gmail.com> | 2020-09-23 11:41:31 +0200 |
|---|---|---|
| committer | Timon Kruiper <timonkruiper@gmail.com> | 2020-09-23 11:41:31 +0200 |
| commit | 0eed7ec9d51fe8c0dd22b72da0130ad9d31877d0 (patch) | |
| tree | edabf258c98ede7cb8d06cfae73e3e9142ac0a48 /lib/std/comptime_string_map.zig | |
| parent | 58ee5f4e61cd9b7a9ba65798e2214efa3753a733 (diff) | |
| download | zig-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 'lib/std/comptime_string_map.zig')
0 files changed, 0 insertions, 0 deletions
