diff options
| -rw-r--r-- | src/9p_io.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/9p_io.zig b/src/9p_io.zig index 7ae341bd..ab7dd13f 100644 --- a/src/9p_io.zig +++ b/src/9p_io.zig @@ -2427,8 +2427,9 @@ pub const Client = struct { } /// The peer's own words for the last error.Remote a read or write here - /// got (its Rerror), for a caller that says why. - var said: RemoteError = .{}; + /// got (its Rerror), for a caller that says why: this thread's, as the + /// editor's mounts and a Handover job each ask from their own. + threadlocal var said: RemoteError = .{}; pub fn lastSaid() []const u8 { return said.buf[0..said.len]; } |
