100 |
/* This flag indicates that several threads are waiting on the same |
/* This flag indicates that several threads are waiting on the same |
101 |
file descriptor. When this is the case, the common fd sets are |
file descriptor. When this is the case, the common fd sets are |
102 |
updated in a more inefficient way. */ |
updated in a more inefficient way. */ |
103 |
int collisionp; |
static int collisionp; |
104 |
|
|
105 |
/* These are the common fd sets. When new select calls are made, |
/* These are the common fd sets. When new select calls are made, |
106 |
those sets are merged into these. */ |
those sets are merged into these. */ |
107 |
int gnfds; |
static int gnfds; |
108 |
SELECT_TYPE greadfds; |
static SELECT_TYPE greadfds; |
109 |
SELECT_TYPE gwritefds; |
static SELECT_TYPE gwritefds; |
110 |
SELECT_TYPE gexceptfds; |
static SELECT_TYPE gexceptfds; |
111 |
|
|
112 |
/* These are the result sets. They are used when we call OS select. |
/* These are the result sets. They are used when we call OS select. |
113 |
We couldn't use the common fd sets above, since that would destroy |
We couldn't use the common fd sets above, since that would destroy |
114 |
them. */ |
them. */ |
115 |
SELECT_TYPE rreadfds; |
static SELECT_TYPE rreadfds; |
116 |
SELECT_TYPE rwritefds; |
static SELECT_TYPE rwritefds; |
117 |
SELECT_TYPE rexceptfds; |
static SELECT_TYPE rexceptfds; |
118 |
|
|
119 |
/* Constant timeval struct representing a zero timeout which we use |
/* Constant timeval struct representing a zero timeout which we use |
120 |
when polling. */ |
when polling. */ |