1 |
/* |
/* |
2 |
* Mach Operating System |
* Mach Operating System |
3 |
* Copyright (c) 1991,1990,1989 Carnegie Mellon University |
* Copyright (c) 1991,1990,1989 Carnegie Mellon University |
4 |
* All Rights Reserved. |
* All Rights Reserved. |
5 |
* |
* |
6 |
* Permission to use, copy, modify and distribute this software and its |
* Permission to use, copy, modify and distribute this software and its |
7 |
* documentation is hereby granted, provided that both the copyright |
* documentation is hereby granted, provided that both the copyright |
8 |
* notice and this permission notice appear in all copies of the |
* notice and this permission notice appear in all copies of the |
9 |
* software, derivative works or modified versions, and any portions |
* software, derivative works or modified versions, and any portions |
10 |
* thereof, and that both notices appear in supporting documentation. |
* thereof, and that both notices appear in supporting documentation. |
11 |
* |
* |
12 |
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" |
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" |
13 |
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR |
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR |
14 |
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. |
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. |
15 |
* |
* |
16 |
* Carnegie Mellon requests users of this software to return to |
* Carnegie Mellon requests users of this software to return to |
17 |
* |
* |
18 |
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU |
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU |
19 |
* School of Computer Science |
* School of Computer Science |
20 |
* Carnegie Mellon University |
* Carnegie Mellon University |
21 |
* Pittsburgh PA 15213-3890 |
* Pittsburgh PA 15213-3890 |
22 |
* |
* |
23 |
* any improvements or extensions that they make and grant Carnegie Mellon |
* any improvements or extensions that they make and grant Carnegie Mellon |
24 |
* the rights to redistribute these changes. |
* the rights to redistribute these changes. |
25 |
*/ |
*/ |
26 |
/* |
/* |
27 |
* HISTORY |
* HISTORY |
28 |
* $Log$ |
* $Log$ |
29 |
|
* Revision 1.3 2002/06/01 19:37:55 roland |
30 |
|
* 2002-05-28 Roland McGrath <roland@frob.com> |
31 |
|
* |
32 |
|
* * cthreads.h: Do not define WAIT_DEBUG to affect inlines. |
33 |
|
* * options.h: Not here either. |
34 |
|
* |
35 |
* Revision 1.2 2002/05/27 02:50:10 roland |
* Revision 1.2 2002/05/27 02:50:10 roland |
36 |
* 2002-05-26 Roland McGrath <roland@frob.com> |
* 2002-05-26 Roland McGrath <roland@frob.com> |
37 |
* |
* |
48 |
* |
* |
49 |
* Revision 2.8 91/05/14 17:58:35 mrt |
* Revision 2.8 91/05/14 17:58:35 mrt |
50 |
* Correcting copyright |
* Correcting copyright |
51 |
* |
* |
52 |
* Revision 2.7 91/02/14 14:21:03 mrt |
* Revision 2.7 91/02/14 14:21:03 mrt |
53 |
* Added new Mach copyright |
* Added new Mach copyright |
54 |
* [91/02/13 12:41:31 mrt] |
* [91/02/13 12:41:31 mrt] |
55 |
* |
* |
56 |
* Revision 2.6 90/09/09 14:35:04 rpd |
* Revision 2.6 90/09/09 14:35:04 rpd |
57 |
* Remove special option , debug_mutex and thread_calls. |
* Remove special option , debug_mutex and thread_calls. |
58 |
* [90/08/24 rwd] |
* [90/08/24 rwd] |
59 |
* |
* |
60 |
* Revision 2.5 90/06/02 15:14:14 rpd |
* Revision 2.5 90/06/02 15:14:14 rpd |
61 |
* Removed RCS Source, Header lines. |
* Removed RCS Source, Header lines. |
62 |
* [90/05/03 00:07:27 rpd] |
* [90/05/03 00:07:27 rpd] |
63 |
* |
* |
64 |
* Revision 2.4 90/03/14 21:12:15 rwd |
* Revision 2.4 90/03/14 21:12:15 rwd |
65 |
* Added new option: |
* Added new option: |
66 |
* WAIT_DEBUG: keep track of who a blocked thread is |
* WAIT_DEBUG: keep track of who a blocked thread is |
67 |
* waiting for. |
* waiting for. |
68 |
* [90/03/01 rwd] |
* [90/03/01 rwd] |
69 |
* |
* |
70 |
* Revision 2.3 90/01/19 14:37:25 rwd |
* Revision 2.3 90/01/19 14:37:25 rwd |
71 |
* New option: |
* New option: |
72 |
* THREAD_CALLS: cthread_* version of thread_* calls. |
* THREAD_CALLS: cthread_* version of thread_* calls. |
73 |
* [90/01/03 rwd] |
* [90/01/03 rwd] |
74 |
* |
* |
75 |
* Revision 2.2 89/12/08 19:54:09 rwd |
* Revision 2.2 89/12/08 19:54:09 rwd |
76 |
* Added code: |
* Added code: |
77 |
* MUTEX_SPECIAL: Have extra kernel threads available for |
* MUTEX_SPECIAL: Have extra kernel threads available for |
97 |
* [89/11/13 rwd] |
* [89/11/13 rwd] |
98 |
* Added copyright. Removed all options. |
* Added copyright. Removed all options. |
99 |
* [89/10/23 rwd] |
* [89/10/23 rwd] |
100 |
* |
* |
101 |
*/ |
*/ |
102 |
/* |
/* |
103 |
* options.h |
* options.h |
107 |
#define SPIN_RESCHED |
#define SPIN_RESCHED |
108 |
/*#define CHECK_STATUS*/ |
/*#define CHECK_STATUS*/ |
109 |
/*#define RED_ZONE*/ |
/*#define RED_ZONE*/ |
110 |
#define WAIT_DEBUG |
/*#define WAIT_DEBUG*/ |