diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-08 09:32:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-08 09:32:11 +0000 |
commit | 8da3ac995180dcf4dfa9b0793393512eeb5c7744 (patch) | |
tree | 6d8c97683d0dc2ae5280da4238bca97467d61dda /libthreads/cprocs.c | |
parent | e4b5f87dc33a9891333c6a16817f500b2358d93f (diff) |
2002-05-07 Roland McGrath <roland@frob.com>
* cprocs.c (cproc_list_lock): Declare type as spin_lock_t.
Diffstat (limited to 'libthreads/cprocs.c')
-rw-r--r-- | libthreads/cprocs.c | 13 |
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; |