diff options
| author | rsc <devnull@localhost> | 2004-10-22 17:15:30 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-10-22 17:15:30 +0000 |
| commit | ba15d71b0cf27ba89d14b547d7ded643e5de6a01 (patch) | |
| tree | c7147b8d213a434032b5d7a917f295fa985f10d6 /src/libthread/exec-unix.c | |
| parent | 493f3d0fbf548303a8f468ffffca8476607ee2cd (diff) | |
| download | plan9port-ba15d71b0cf27ba89d14b547d7ded643e5de6a01.tar.gz plan9port-ba15d71b0cf27ba89d14b547d7ded643e5de6a01.zip | |
debugging, more pthreads crap
Diffstat (limited to 'src/libthread/exec-unix.c')
| -rw-r--r-- | src/libthread/exec-unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libthread/exec-unix.c b/src/libthread/exec-unix.c index 91639bbb..73a2faf7 100644 --- a/src/libthread/exec-unix.c +++ b/src/libthread/exec-unix.c @@ -50,6 +50,7 @@ _threadexec(Channel *pidc, int fd[3], char *prog, char *args[], int freeargs) goto Bad; case 0: efork(fd, pfd, prog, args); + _threaddebug(DBGSCHED, "exit after efork"); _exit(0); default: _threadafterexec(); @@ -152,6 +153,7 @@ efork(int stdfd[3], int fd[2], char *prog, char **args) strcpy(buf, "exec failed"); write(fd[1], buf, strlen(buf)); close(fd[1]); + _threaddebug(DBGSCHED, "_exits in exec-unix"); _exits(buf); } |
