From db821fd8deaeb9b33dca1dc40d6aa1e415081ff9 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Tue, 10 Jun 1997 01:22:19 +0000 Subject: Mon Jun 9 21:18:46 1997 Thomas Bushnell, n/BSG * cthreads.c (cthread_fork): Delete debugging oddity that crept into source. --- libthreads/cthreads.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libthreads/cthreads.c') 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; } -- cgit v1.2.3