Andrew Kelley
b600b6e5e0
std.posix: remove close function
2026-02-11 23:37:31 +01:00
angus
703df73f38
initialize mutex correctly in kqueue.zig
2026-02-07 14:19:29 +00:00
Andrew Kelley
d45f9aca14
std.Thread: delete Mutex.Recursive
...
Replaced by the lockStderr functions of std.Io. Trying to make
`std.process.stderr_thread_mutex` be a bridge across different Io
implementations didn't work in practice.
2026-02-03 20:46:25 -08:00
Andrew Kelley
ce89006035
std.Io.Kqueue: fix bitrot
2026-01-07 18:00:36 -08:00
Andrew Kelley
3961fe3de9
std: move posix.kevent to Io.Kqueue
2026-01-07 17:33:07 -08:00
Andrew Kelley
2c6304efc7
std: move posix.kqueue to Io.Kqueue.createFileDescriptor
2026-01-07 17:33:07 -08:00
Lukas Lalinsky
e8a2e6578a
Add std.Io.net.Stream.shutdown
2025-12-29 02:20:37 +01:00
Andrew Kelley
a8088306f6
std: rename other Dir "make" functions to "create"
2025-12-23 22:15:11 -08:00
Andrew Kelley
e1cf753db7
std: update fchmodat tests
2025-12-23 22:15:09 -08:00
Andrew Kelley
877032ec6a
std: reorganize realpath and process executable APIs
2025-12-23 22:15:08 -08:00
Andrew Kelley
03fd132b1c
std.Io: fix Group.wait unsoundness
...
Previously if a Group.wait was canceled, then a subsequent call to
wait() or cancel() would trip an assertion in the synchronization code.
2025-10-29 06:20:52 -07:00
Andrew Kelley
b39f3d294d
std.Io.Threaded: implement dirMakeOpenPath for WASI
...
and fix error code when file operation occurs on director handle
2025-10-29 06:20:52 -07:00
Andrew Kelley
ae86c0f529
std.Io: adjust concurrent error set
...
Now std.Io.Threaded can return error.ConcurrencyUnavailable rather than
asserting. This is handy for logic that wants to try a concurrent
implementation but then fall back to a synchronous one.
2025-10-29 06:20:51 -07:00
Andrew Kelley
5578c760a7
std.Io.Kqueue: implement wait queue per fd
...
Solves the issue when one kevent() call would clobber another if they
used the same file descriptor as an identifier.
2025-10-29 06:20:51 -07:00
Andrew Kelley
6a64c9b7c8
std.Io.Kqueue: add missing Thread deinit logic
2025-10-29 06:20:51 -07:00
Andrew Kelley
cc11dd1f87
std.Io.Kqueue: implement EAGAIN logic for netRead
2025-10-29 06:20:51 -07:00
Andrew Kelley
0497f88d39
std.Io.Kqueue: implement netRead
2025-10-29 06:20:51 -07:00
Andrew Kelley
f17c6bba57
std.Io.Kqueue: implement netConnect
2025-10-29 06:20:51 -07:00
Andrew Kelley
9d6750f01c
std.Io.Kqueue: implement netSend
2025-10-29 06:20:51 -07:00
Andrew Kelley
92b8378814
concurrent and await
2025-10-29 06:20:51 -07:00
Andrew Kelley
dd945bf1f8
one kqueue per thread
2025-10-29 06:20:51 -07:00
Andrew Kelley
df84dc18bc
add bind
2025-10-29 06:20:51 -07:00
Andrew Kelley
d6b0686b05
std.Io: add Kqueue implementation
2025-10-29 06:20:51 -07:00