diff options
| author | wiz <wiz@NetBSD.org> | 2003-09-29 09:50:21 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2003-09-29 09:50:21 +0000 |
| commit | 37ac1db45470537af70c09fa2de6eed433ece311 (patch) | |
| tree | a398d43a423422a608db06e9327c99922880e9ad /lib/libpthread/pthread_tsd.c | |
| parent | 960dfae23fc9a4ce820f0fdc002fa281c66d2080 (diff) | |
available, not avaliable. From miod@openbsd.
Diffstat (limited to 'lib/libpthread/pthread_tsd.c')
| -rw-r--r-- | lib/libpthread/pthread_tsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/pthread_tsd.c b/lib/libpthread/pthread_tsd.c index 654800d0661..1d459f24c84 100644 --- a/lib/libpthread/pthread_tsd.c +++ b/lib/libpthread/pthread_tsd.c @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_tsd.c,v 1.1 2003/08/13 18:52:02 nathanw Exp $ */ +/* $NetBSD: pthread_tsd.c,v 1.2 2003/09/29 09:50:22 wiz Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread_tsd.c,v 1.1 2003/08/13 18:52:02 nathanw Exp $"); +__RCSID("$NetBSD: pthread_tsd.c,v 1.2 2003/09/29 09:50:22 wiz Exp $"); /* Functions and structures dealing with thread-specific data */ #include <errno.h> @@ -61,7 +61,7 @@ pthread_key_create(pthread_key_t *key, void (*destructor)(void *)) /* Get a lock on the allocation list */ pthread_mutex_lock(&tsd_mutex); - /* Find an avaliable slot */ + /* Find an available slot */ /* 1. Search from "nextkey" to the end of the list. */ for (i = nextkey; i < PTHREAD_KEYS_MAX; i++) if (pthread__tsd_alloc[i] == 0) |
