aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/Module.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-09-09 19:51:59 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-09-10 15:40:38 -0400
commit486a774e5fa079c4caba334f311ee32b54272f1f (patch)
tree4ff352cd107590dd9b379167c20a44cb6b278746 /src-self-hosted/Module.zig
parent4170f3f77f23bca52a2a9b24d1a249fae35c04ac (diff)
downloadzig-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-self-hosted/Module.zig')
0 files changed, 0 insertions, 0 deletions