]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/include/thread.h
ndb/dnstcp: -x specifies the mountmoint
[plan9front.git] / sys / include / thread.h
old mode 100755 (executable)
new mode 100644 (file)
index f67012f..74deb99
@@ -63,7 +63,6 @@ int   alt(Alt alts[]);
 int    chanclose(Channel*);
 int    chanclosing(Channel *c);
 Channel*chancreate(int elemsize, int bufsize);
-int    chaninit(Channel *c, int elemsize, int elemcnt);
 void   chanfree(Channel *c);
 int    chanprint(Channel *, char *, ...);
 long   decref(Ref *r);                 /* returns 0 iff value is now zero */
@@ -104,11 +103,10 @@ int       threadpid(int);
 int    threadsetgrp(int);              /* set thread group, return old */
 void   threadsetname(char *fmt, ...);
 Channel*threadwaitchan(void);
-int    tprivalloc(void);
-void   tprivfree(int);
-void   **tprivaddr(int);
 void   yield(void);
 
+#pragma        varargck        argpos  threadsetname   1
+
 extern int     mainstacksize;
 
 /* slave I/O processes */
@@ -128,6 +126,6 @@ long        ioread(Ioproc*, int, void*, long);
 long   ioreadn(Ioproc*, int, void*, long);
 long   iowrite(Ioproc*, int, void*, long);
 int    iosleep(Ioproc*, long);
+int    ioflush(Ioproc*);
 
 long   iocall(Ioproc*, long (*)(va_list*), ...);
-void   ioret(Ioproc*, int);