termio: writer => mailbox

This commit is contained in:
Mitchell Hashimoto
2024-07-15 10:23:09 -07:00
parent 001a6d2624
commit 835d622baa
8 changed files with 65 additions and 66 deletions

View File

@@ -319,13 +319,13 @@ fn processExit(
// Notify our main writer thread which has access to more
// information so it can show a better error message.
td.writer.send(.{
td.mailbox.send(.{
.child_exited_abnormally = .{
.exit_code = exit_code,
.runtime_ms = runtime,
},
}, null);
td.writer.notify();
td.mailbox.notify();
return .disarm;
}