From 8da3ac995180dcf4dfa9b0793393512eeb5c7744 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 09:32:11 +0000 Subject: 2002-05-07 Roland McGrath * cprocs.c (cproc_list_lock): Declare type as spin_lock_t. --- libthreads/cprocs.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'libthreads') 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 + * + * * 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 * @@ -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; -- cgit v1.2.3