aboutsummaryrefslogtreecommitdiff
path: root/man/man3/thread.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-18 18:31:09 +0000
committerrsc <devnull@localhost>2005-01-18 18:31:09 +0000
commite4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea (patch)
tree5b04b0edeea86420364a53a1edf77e316c7e7fd5 /man/man3/thread.3
parent80f510c8a46b218e8cdff001049e8037bcdabe57 (diff)
downloadplan9port-e4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea.tar.gz
plan9port-e4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea.tar.bz2
plan9port-e4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea.zip
update
Diffstat (limited to 'man/man3/thread.3')
-rw-r--r--man/man3/thread.314
1 files changed, 10 insertions, 4 deletions
diff --git a/man/man3/thread.3 b/man/man3/thread.3
index 39fa53a8..4212c6f3 100644
--- a/man/man3/thread.3
+++ b/man/man3/thread.3
@@ -41,6 +41,7 @@ threadsetgrp,
threadsetname,
threadsetstate,
threadspawn,
+threadspawnl,
threadwaitchan,
yield \- thread and proc management
.SH SYNOPSIS
@@ -119,6 +120,7 @@ int nbsendp(Channel *c, void *v)
int nbsendul(Channel *c, ulong v)
int chanprint(Channel *c, char *fmt, ...)
.XX
+int threadspawnl(int fd[3], char *file, ...)
int threadspawn(int fd[3], char *file, char *args[])
int threadexecl(Channel *cpid, int fd[3], char *file, ...)
int threadexec(Channel *cpid, int fd[3], char *file, char *args[])
@@ -391,11 +393,15 @@ fd[1] = dup(1, -1);
fd[2] = dup(2, -1);
.EE
.PP
-.I Threadspawn
-is like
+.I Threadspawnl
+and
+.I threadspawn
+are like
+.I threadexecl
+and
.I threadexec
-but does not replace the current thread.
-It returns the pid of the invoked program on success, or
+but do not replace the current thread.
+They return the pid of the invoked program on success, or
\-1 on error.
.PP
.I Threadwaitchan