0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/os
LemonBoy dc810eb73b std: Avoid deadlocking in ChildProcess.exec
Reading stdin&stderr at different times may lead to nasty deadlocks (eg.
when stdout is read before stderr and the child process doesn't write
anything onto stdout).

Implement a polling mechanism to make sure this won't happen: we read
data from stderr/stdout as it becomes ready and then it's copied into an
ArrayList provided by the user, avoiding any kind of blocking read.
History 2020-12-29 10:40:00 -07:00
..
bits Merge pull request #7449 from kristoff-it/macos-termios 2020-12-26 17:13:17 -08:00
linux std: clenup, fixes, fmt 2020-12-24 00:23:29 +02:00
uefi Update zig files for opaque type syntax 2020-10-06 22:08:25 -06:00
windows std: Avoid deadlocking in ChildProcess.exec 2020-12-29 10:40:00 -07:00
bits.zig Merge branch 'master' into openbsd-minimal 2020-10-17 17:38:23 +02:00
darwin.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
dragonfly.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
freebsd.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
linux.zig Truncate user and group ids for 64 bit Linux systems (#7466) 2020-12-23 11:16:27 +02:00
netbsd.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
openbsd.zig add minimal openbsd support 2020-10-11 08:23:36 +00:00
test.zig Disable sigaction test on i386 because of #7427 2020-12-13 19:35:40 +01:00
uefi.zig Update zig files for opaque type syntax 2020-10-06 22:08:25 -06:00
wasi.zig add license header to all std lib files 2020-08-20 16:07:04 -04:00
windows.zig MoveFileEx can return ACCESS_DENIED 2020-12-09 15:03:17 -07:00