summaryrefslogtreecommitdiff
path: root/src/termio.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-02-06 14:52:24 -0800
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-02-06 14:52:24 -0800
commit11d6e9122845ab55d4e28d0114c7a24b1b4c0c76 (patch)
tree9fde2589ab7aedfedc7b651da26d1d89744e417c /src/termio.zig
parent18f20add345bdfc7f3a524ea8810b1027b207624 (diff)
termio: reader thread is thread-safe for writing to writer
Diffstat (limited to 'src/termio.zig')
-rw-r--r--src/termio.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/termio.zig b/src/termio.zig
index f988ddb5f..55d58ef1c 100644
--- a/src/termio.zig
+++ b/src/termio.zig
@@ -6,6 +6,7 @@ pub usingnamespace @import("termio/message.zig");
pub const Exec = @import("termio/Exec.zig");
pub const Options = @import("termio/Options.zig");
pub const Thread = @import("termio/Thread.zig");
+pub const Mailbox = Thread.Mailbox;
/// The implementation to use for the IO. This is just "exec" for now but
/// this is somewhat pluggable so that in the future we can introduce other