diff options
| author | rsc <devnull@localhost> | 2003-12-17 04:34:52 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2003-12-17 04:34:52 +0000 |
| commit | 49588d5d9089589ccda28c41aae90c29d6f72787 (patch) | |
| tree | 48cbc911e34b71977b7b98b4d0b94b27d4454081 /src/libthread/exec-unix.c | |
| parent | 7f11104a5737adf261d10bc1a7b85e740f2eb491 (diff) | |
| download | plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.tar.gz plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.zip | |
Tweaks to various bits.
Until I hear otherwise, Refs aren't used enough to
merit their own assembly. They are now implemented with locks.
Diffstat (limited to 'src/libthread/exec-unix.c')
| -rw-r--r-- | src/libthread/exec-unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libthread/exec-unix.c b/src/libthread/exec-unix.c index 97c75607..c04d414c 100644 --- a/src/libthread/exec-unix.c +++ b/src/libthread/exec-unix.c @@ -122,6 +122,7 @@ efork(void *ve) for(i=3; i<40; i++) if(i != e->fd[1]) close(i); + rfork(RFNOTEG); execvp(e->prog, e->args); _threaddebug(DBGEXEC, "_schedexec failed: %r"); rerrstr(buf, sizeof buf); |
