diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-09-09 19:51:59 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-10 15:40:38 -0400 |
| commit | 486a774e5fa079c4caba334f311ee32b54272f1f (patch) | |
| tree | 4ff352cd107590dd9b379167c20a44cb6b278746 /src/target.cpp | |
| parent | 4170f3f77f23bca52a2a9b24d1a249fae35c04ac (diff) | |
| download | zig-486a774e5fa079c4caba334f311ee32b54272f1f.tar.gz zig-486a774e5fa079c4caba334f311ee32b54272f1f.zip | |
std: add option to use single-threaded event loop
std.event.Loop does not yet work in single threaded builds. However,
using evented io on a single thread can be very convenient. This commit
allows settind @import("root").event_loop_mode to .single_threaded
in order to allow this without reimplementing the startup code in
start.zig
Diffstat (limited to 'src/target.cpp')
0 files changed, 0 insertions, 0 deletions
