summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>2000-02-10 11:47:16 +0000
committerDavid Leonard <d@cvs.openbsd.org>2000-02-10 11:47:16 +0000
commit881cdc84fcc1275018db4c1bd1395db8f650096f (patch)
tree4b4fd7610688c3158aff3828225a1f7ed83a82cc /lib
parent3850775b54209b1e4c1d7842fc0a9b51b3e482cb (diff)
its a stack, not a queue
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/uthread/uthread_stack.c4
-rw-r--r--lib/libpthread/uthread/uthread_stack.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc_r/uthread/uthread_stack.c b/lib/libc_r/uthread/uthread_stack.c
index 003ddde74f6..62474173495 100644
--- a/lib/libc_r/uthread/uthread_stack.c
+++ b/lib/libc_r/uthread/uthread_stack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_stack.c,v 1.4 2000/01/06 07:22:46 d Exp $ */
+/* $OpenBSD: uthread_stack.c,v 1.5 2000/02/10 11:47:15 d Exp $ */
/*
* Copyright 1999, David Leonard. All rights reserved.
* <insert BSD-style license&disclaimer>
@@ -32,7 +32,7 @@ _thread_stack_alloc(base, size)
struct stack *stack;
int nbpg = getpagesize();
- /* Maintain a queue of default-sized stacks that we can re-use. */
+ /* Maintain a stack of default-sized stacks that we can re-use. */
if (base == NULL && size == PTHREAD_STACK_DEFAULT) {
if (pthread_mutex_lock(&_gc_mutex) != 0)
PANIC("Cannot lock gc mutex");
diff --git a/lib/libpthread/uthread/uthread_stack.c b/lib/libpthread/uthread/uthread_stack.c
index 003ddde74f6..62474173495 100644
--- a/lib/libpthread/uthread/uthread_stack.c
+++ b/lib/libpthread/uthread/uthread_stack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_stack.c,v 1.4 2000/01/06 07:22:46 d Exp $ */
+/* $OpenBSD: uthread_stack.c,v 1.5 2000/02/10 11:47:15 d Exp $ */
/*
* Copyright 1999, David Leonard. All rights reserved.
* <insert BSD-style license&disclaimer>
@@ -32,7 +32,7 @@ _thread_stack_alloc(base, size)
struct stack *stack;
int nbpg = getpagesize();
- /* Maintain a queue of default-sized stacks that we can re-use. */
+ /* Maintain a stack of default-sized stacks that we can re-use. */
if (base == NULL && size == PTHREAD_STACK_DEFAULT) {
if (pthread_mutex_lock(&_gc_mutex) != 0)
PANIC("Cannot lock gc mutex");