diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2003-12-23 20:10:46 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2003-12-23 20:10:46 +0000 |
commit | cb7b67b814a44f86b442ef859c4c35e383e93d3c (patch) | |
tree | 714ce8ea854cb3252a0634132157b2f46c21e28e /lib | |
parent | 4301a359b058624b3d8e28e4685f43b043feb424 (diff) |
change the variable name used for status checking,
LIBC_R_DEBUG -> LIBPTHREAD_DEBUG
ok marc@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpthread/man/pthreads.3 | 4 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_gc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/man/pthreads.3 b/lib/libpthread/man/pthreads.3 index 00f716c9564..937c02a26c8 100644 --- a/lib/libpthread/man/pthreads.3 +++ b/lib/libpthread/man/pthreads.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthreads.3,v 1.19 2003/05/18 13:06:33 jmc Exp $ +.\" $OpenBSD: pthreads.3,v 1.20 2003/12/23 20:10:45 brad Exp $ .\" David Leonard <d@openbsd.org>, 1998. Public domain. .Dd August 17, 1998 .Dt PTHREADS 3 @@ -184,7 +184,7 @@ or Enables verbose .Dv SIGINFO signal output. -.It Ev LIBC_R_DEBUG +.It Ev LIBPTHREAD_DEBUG Display thread status every time the garbage collection thread runs, approximately once every 10 seconds. The status display verbosity is controlled by the diff --git a/lib/libpthread/uthread/uthread_gc.c b/lib/libpthread/uthread/uthread_gc.c index 1fb1e56be4a..d59708d753d 100644 --- a/lib/libpthread/uthread/uthread_gc.c +++ b/lib/libpthread/uthread/uthread_gc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_gc.c,v 1.12 2003/01/31 04:46:17 marc Exp $ */ +/* $OpenBSD: uthread_gc.c,v 1.13 2003/12/23 20:10:45 brad Exp $ */ /* * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -66,7 +66,7 @@ _thread_gc(pthread_addr_t arg) curthread->flags |= PTHREAD_FLAGS_PRIVATE; /* Set a debug flag based on an environment variable. */ - f_debug = (getenv("LIBC_R_DEBUG") != NULL); + f_debug = (getenv("LIBPTHREAD_DEBUG") != NULL); /* Set the name of this thread. */ pthread_set_name_np(curthread, (char *)"GC"); |