Last change
on this file was 18, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
1.5 KB
|
Line | |
---|
1 | /* select.h -- Header file for select.c
|
---|
2 | Copyright (c) 1993-1998 by Eberhard Mattes
|
---|
3 |
|
---|
4 | This file is part of emx.
|
---|
5 |
|
---|
6 | emx is free software; you can redistribute it and/or modify it
|
---|
7 | under the terms of the GNU General Public License as published by
|
---|
8 | the Free Software Foundation; either version 2, or (at your option)
|
---|
9 | any later version.
|
---|
10 |
|
---|
11 | emx is distributed in the hope that it will be useful,
|
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | GNU General Public License for more details.
|
---|
15 |
|
---|
16 | You should have received a copy of the GNU General Public License
|
---|
17 | along with emx; see the file COPYING. If not, write to
|
---|
18 | the Free Software Foundation, 59 Temple Place - Suite 330,
|
---|
19 | Boston, MA 02111-1307, USA.
|
---|
20 |
|
---|
21 | As special exception, emx.dll can be distributed without source code
|
---|
22 | unless it has been changed. If you modify emx.dll, this exception
|
---|
23 | no longer applies and you must remove this paragraph from all source
|
---|
24 | files for emx.dll. */
|
---|
25 |
|
---|
26 |
|
---|
27 | struct select_data
|
---|
28 | {
|
---|
29 | SEMRECORD *list;
|
---|
30 | fd_set *rbits;
|
---|
31 | fd_set *wbits;
|
---|
32 | fd_set *ebits;
|
---|
33 | int nbytes;
|
---|
34 | int max_sem;
|
---|
35 | HMUX sem_mux;
|
---|
36 | BYTE sem_npipe_flag;
|
---|
37 | BYTE sem_kbd_flag;
|
---|
38 | BYTE sem_mux_flag;
|
---|
39 | BYTE socket_thread_flag;
|
---|
40 | int sem_count;
|
---|
41 | int ready_flag;
|
---|
42 | int return_value;
|
---|
43 | ULONG timeout;
|
---|
44 | ULONG start_ms;
|
---|
45 | thread_data *td;
|
---|
46 | int socket_count;
|
---|
47 | int socket_nread;
|
---|
48 | int socket_nwrite;
|
---|
49 | int socket_nexcept;
|
---|
50 | int *sockets;
|
---|
51 | int *socketh;
|
---|
52 | int *sockett;
|
---|
53 | int async_flag;
|
---|
54 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.