commit 93eb807ac2b7c23cae2b0999957532b5b666f437
parent f5ff4947dd510fa5b6ab6fc71ce2515a313402ce
Author: rsc <devnull@localhost>
Date: Tue, 28 Dec 2004 03:42:11 +0000
remove debugging
Diffstat:
4 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/libthread/Linux.c b/src/libthread/Linux.c
@@ -8,9 +8,6 @@
#include "thread.h"
#include "threadimpl.h"
-int ngetpid;
-
-
/*
* spin locks
*/
diff --git a/src/libthread/mkfile b/src/libthread/mkfile
@@ -1,7 +1,7 @@
<$PLAN9/src/mkhdr
SYSOFILES=`{sh ./sysofiles.sh}
-
+x=`{echo $SYSOFILES> xx}
LIB=libthread.a
OFILES=\
$SYSOFILES\
diff --git a/src/libthread/pthread.c b/src/libthread/pthread.c
@@ -130,3 +130,9 @@ _pthreadinit(void)
pthread_key_create(&prockey, 0);
}
+void
+threadexitsall(char *msg)
+{
+ exits(msg);
+}
+
diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-tag="${SYSNAME:-`uname -m`}-${OBJTYPE:-`uname`}-`uname -r`-${CC9:-cc}"
+tag="${OBJTYPE:-`uname -m`}-${SYSNAME:-`uname`}-`uname -r`-${CC9:-cc}"
case "$tag" in
*-Linux-2.6.*)
echo pthread.o