summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-08 09:32:11 +0000
committerRoland McGrath <roland@gnu.org>2002-05-08 09:32:11 +0000
commit8da3ac995180dcf4dfa9b0793393512eeb5c7744 (patch)
tree6d8c97683d0dc2ae5280da4238bca97467d61dda
parente4b5f87dc33a9891333c6a16817f500b2358d93f (diff)
2002-05-07 Roland McGrath <roland@frob.com>
* cprocs.c (cproc_list_lock): Declare type as spin_lock_t.
-rw-r--r--libthreads/cprocs.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/libthreads/cprocs.c b/libthreads/cprocs.c
index 759d0f5d..f489f2b4 100644
--- a/libthreads/cprocs.c
+++ b/libthreads/cprocs.c
@@ -26,6 +26,17 @@
/*
* HISTORY
* $Log: cprocs.c,v $
+ * Revision 1.13 2001/03/31 23:01:01 roland
+ * 2001-03-31 Roland McGrath <roland@frob.com>
+ *
+ * * cthreads.h: Fix obsolescent #endif syntax.
+ * * cthread_internals.h: Likewise.
+ * * cancel-cond.c: Likewise.
+ * * stack.c: Likewise.
+ * * cthreads.c: Likewise.
+ * * cprocs.c: Likewise.
+ * * call.c: Likewise.
+ *
* Revision 1.12 2000/01/10 14:42:30 kettenis
* 2000-01-10 Mark Kettenis <kettenis@gnu.org>
*
@@ -314,7 +325,7 @@ private spin_lock_t mutex_count_lock = SPIN_LOCK_INITIALIZER;
#endif /* STATISTICS */
cproc_t cproc_list = NO_CPROC; /* list of all cprocs */
-private cproc_list_lock = SPIN_LOCK_INITIALIZER;
+private spin_lock_t cproc_list_lock = SPIN_LOCK_INITIALIZER;
/* lock for above */
private int cprocs_started = FALSE; /* initialized? */
private struct cthread_queue ready = QUEUE_INITIALIZER;