summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-06-10 01:22:19 +0000
committerThomas Bushnell <thomas@gnu.org>1997-06-10 01:22:19 +0000
commitdb821fd8deaeb9b33dca1dc40d6aa1e415081ff9 (patch)
tree2c3b2b8a89bb5d98f02fe74a4e24c3db4acde20b /libthreads
parent0f67849251985d2021d329cdcc808c9b2fe8c6e1 (diff)
Mon Jun 9 21:18:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* cthreads.c (cthread_fork): Delete debugging oddity that crept into source.
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/ChangeLog5
-rw-r--r--libthreads/cthreads.c8
2 files changed, 8 insertions, 5 deletions
diff --git a/libthreads/ChangeLog b/libthreads/ChangeLog
index bbf93298..8289d87d 100644
--- a/libthreads/ChangeLog
+++ b/libthreads/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 9 21:18:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * cthreads.c (cthread_fork): Delete debugging oddity that crept
+ into source.
+
Thu Apr 3 20:29:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/csw.S: Define __ELF__ too.
diff --git a/libthreads/cthreads.c b/libthreads/cthreads.c
index 4d560972..4bb4043a 100644
--- a/libthreads/cthreads.c
+++ b/libthreads/cthreads.c
@@ -26,6 +26,9 @@
/*
* HISTORY
* $Log: cthreads.c,v $
+ * Revision 1.5 1997/04/04 01:30:35 thomas
+ * *** empty log message ***
+ *
* Revision 1.4 1994/05/05 18:13:57 roland
* entered into RCS
*
@@ -295,21 +298,16 @@ cthread_fork(func, arg)
{
register cthread_t t;
- printf ("cf1\n");
-
TRACE(printf("[%s] fork()\n", cthread_name(cthread_self())));
mutex_lock(&cthread_lock);
t = cthread_alloc(func, arg);
- printf ("cf2\n");
cthread_queue_enq(&cthreads, t);
if (++cthread_cthreads > cthread_cprocs && (cthread_max_cprocs == 0 || cthread_cprocs < cthread_max_cprocs)) {
cthread_cprocs += 1;
cproc_create();
}
- printf ("cf3\n");
mutex_unlock(&cthread_lock);
condition_signal(&cthread_needed);
- printf ("cf4\n");
return t;
}