26 |
/* |
/* |
27 |
* HISTORY |
* HISTORY |
28 |
* $Log$ |
* $Log$ |
29 |
|
* Revision 1.14 2002/05/08 09:32:11 roland |
30 |
|
* 2002-05-07 Roland McGrath <roland@frob.com> |
31 |
|
* |
32 |
|
* * cprocs.c (cproc_list_lock): Declare type as spin_lock_t. |
33 |
|
* |
34 |
* Revision 1.13 2001/03/31 23:01:01 roland |
* Revision 1.13 2001/03/31 23:01:01 roland |
35 |
* 2001-03-31 Roland McGrath <roland@frob.com> |
* 2001-03-31 Roland McGrath <roland@frob.com> |
36 |
* |
* |
330 |
#endif /* STATISTICS */ |
#endif /* STATISTICS */ |
331 |
|
|
332 |
cproc_t cproc_list = NO_CPROC; /* list of all cprocs */ |
cproc_t cproc_list = NO_CPROC; /* list of all cprocs */ |
333 |
private cproc_list_lock = SPIN_LOCK_INITIALIZER; |
private spin_lock_t cproc_list_lock = SPIN_LOCK_INITIALIZER; |
334 |
/* lock for above */ |
/* lock for above */ |
335 |
private int cprocs_started = FALSE; /* initialized? */ |
private int cprocs_started = FALSE; /* initialized? */ |
336 |
private struct cthread_queue ready = QUEUE_INITIALIZER; |
private struct cthread_queue ready = QUEUE_INITIALIZER; |