|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.85 2000/12/1100:49:52 tgl Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.86 2000/12/1116:35:59 tgl Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
|
47 | 47 | *This is so that we can support more backends. (system-wide semaphore
|
48 | 48 | *sets run out pretty fast.) -ay 4/95
|
49 | 49 | *
|
50 |
| - * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.85 2000/12/1100:49:52 tgl Exp $ |
| 50 | + * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.86 2000/12/1116:35:59 tgl Exp $ |
51 | 51 | */
|
52 | 52 | #include"postgres.h"
|
53 | 53 |
|
|
61 | 61 | #include<sys/sem.h>
|
62 | 62 | #endif
|
63 | 63 |
|
| 64 | +#include"miscadmin.h" |
| 65 | + |
64 | 66 | #if defined(__darwin__)
|
65 | 67 | #include"port/darwin/sem.h"
|
66 | 68 | #endif
|
67 | 69 |
|
68 |
| -#include"miscadmin.h" |
69 |
| - |
70 |
| - |
71 | 70 | /* In Ultrix and QNX, sem.h must be included after ipc.h */
|
72 | 71 | #ifdefHAVE_SYS_SEM_H
|
73 | 72 | #include<sys/sem.h>
|
|
76 | 75 | #include"storage/proc.h"
|
77 | 76 |
|
78 | 77 |
|
| 78 | + |
79 | 79 | voidHandleDeadLock(SIGNAL_ARGS);
|
80 | 80 | staticvoidProcFreeAllSemaphores(void);
|
81 | 81 | staticboolGetOffWaitqueue(PROC*);
|
|