summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-05-21 03:34:54 +0000
committermtm <mtm@FreeBSD.org>2003-05-21 03:34:54 +0000
commit98feca67b61085bd7f59e55486be074e6f3d0bf2 (patch)
tree40335e15ed8fde99fee274b6b0905b7e2013c246 /lib/libthr
parentef39a958df33c49c40cafca876e2aaf4611a8639 (diff)
downloadFreeBSD-src-98feca67b61085bd7f59e55486be074e6f3d0bf2.zip
FreeBSD-src-98feca67b61085bd7f59e55486be074e6f3d0bf2.tar.gz
Re-enable the garbage collector thread in anticipation of further
locking work. I can't see anything obviously wrong with it (other than the need to update the locking). Approved by: markm/mentor, re/blanket libthr
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/thread/thr_create.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c
index d2ef538..4fb29cb 100644
--- a/lib/libthr/thread/thr_create.c
+++ b/lib/libthr/thread/thr_create.c
@@ -200,10 +200,8 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr,
* Start a garbage collector thread
* if necessary.
*/
-#if 0
if (f_gc && pthread_create(&gc_thread,NULL, _thread_gc,NULL) != 0)
PANIC("Can't create gc thread");
-#endif
return (0);
}
OpenPOWER on IntegriCloud