tremove debugging - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 93eb807ac2b7c23cae2b0999957532b5b666f437
(DIR) parent f5ff4947dd510fa5b6ab6fc71ce2515a313402ce
(HTM) Author: rsc <devnull@localhost>
Date: Tue, 28 Dec 2004 03:42:11 +0000
remove debugging
Diffstat:
M src/libthread/Linux.c | 3 ---
M src/libthread/mkfile | 2 +-
M src/libthread/pthread.c | 6 ++++++
M src/libthread/sysofiles.sh | 2 +-
4 files changed, 8 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/src/libthread/Linux.c b/src/libthread/Linux.c
t@@ -8,9 +8,6 @@
#include "thread.h"
#include "threadimpl.h"
-int ngetpid;
-
-
/*
* spin locks
*/
(DIR) diff --git a/src/libthread/mkfile b/src/libthread/mkfile
t@@ -1,7 +1,7 @@
<$PLAN9/src/mkhdr
SYSOFILES=`{sh ./sysofiles.sh}
-
+x=`{echo $SYSOFILES> xx}
LIB=libthread.a
OFILES=\
$SYSOFILES\
(DIR) diff --git a/src/libthread/pthread.c b/src/libthread/pthread.c
t@@ -130,3 +130,9 @@ _pthreadinit(void)
pthread_key_create(&prockey, 0);
}
+void
+threadexitsall(char *msg)
+{
+ exits(msg);
+}
+
(DIR) diff --git a/src/libthread/sysofiles.sh b/src/libthread/sysofiles.sh
t@@ -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