summary refs log tree commit diff stats
path: root/lib/pure/selectors.nim
Commit message (Collapse)AuthorAgeFilesLines
* Clean up selectors documentation a bitdef2015-02-241-4/+9
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* made a test greenAraq2015-02-121-1/+1
|
* Handle EPOLLHUP to avoid chaos/runaways when using certain file descriptors.Elie Zedeck2015-01-211-1/+1
| | | | A concrete example is pipe file descriptors: they generate EPOLLHUP instead of a EPOLLIN (then 0 bytes read). The loop will run wild if this event is not handled.
* Fix: Only handle EPOLLERR as an error eventdef2015-01-131-2/+0
| | | | | When an EPOLLRDHUP is received with epoll_ctl, there can still be data to be read. So we shouldn't immediately close the socket and abort.
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* Handle interrupt on epoll_wait graciously (allows strace to work)def2015-01-041-1/+5
|
* Close async socket on error (instead of looping on epoll_wait with 100% CPU)def2015-01-041-1/+4
|
* 'nimfix' improvements; FdSet is TFdSet againAraq2014-09-081-3/+3
|
* big renameAraq2014-08-271-78/+82
|
* Many async optimisations.Dominik Picheta2014-07-121-1/+1
| | | | | | | | | * Selectors implementation will now attempt to immediately execute an IO operation instead of waiting for a ready notification. * Removed recursion in asynchttpserver. * Improved buffered implementation of recvLine in asyncnet. * Optimised ``respond`` in asynchttpserver removing a possible "Delayed ACK" situation.
* Update selectors.nimVarriount2014-05-251-1/+1
|
* Update selectors.nimVarriount2014-05-251-4/+33
| | | Fixed selectors.nim on macosx
* Fix issue #1134Clay Sweetser2014-05-241-3/+6
| | | | Adds the necessary imports for selectors under MacOSX
* Fixes #1197.Dominik Picheta2014-05-141-8/+28
|
* Fixes docgen.Dominik Picheta2014-04-151-1/+1
|
* Add checks for invalid socket when creating sockets.Dominik Picheta2014-04-151-0/+1
|
* Fixes selectors module on Mac OS X.Dominik Picheta2014-04-061-0/+1
|
* Selectors module now uses select on operating systems other than Linux.Dominik Picheta2014-04-061-23/+9
|
* Select implementation in selectors module compiles again.Dominik Picheta2014-04-061-3/+3
|
* File descriptors are now removed from fds list explicitly in close().Dominik Picheta2014-03-141-19/+17
| | | | Fixes tasyncawait on linux.
* tasyncawait now works on Linux.Dominik Picheta2014-03-111-27/+38
| | | | | | Reworked detection of a file descriptor being closed with epoll (in the case of sockets it is when the remote host disconnects). Ensured that events are only updated when they change.
* Fixes to asyncio2 on Linux.Dominik Picheta2014-03-091-8/+18
|
* Implemented selector support for asyncio2.Dominik Picheta2014-02-221-177/+178
|
* Epoll now works.Dominik Picheta2013-10-311-26/+47
|
* Epoll wrapper + selectors module.Dominik Picheta2013-10-311-0/+228
'>9ffec7930 ^
0cae8ef2c ^

9ffec7930 ^
83ae70cb5 ^
9ffec7930 ^



83ae70cb5 ^
9ffec7930 ^
















83ae70cb5 ^

9ffec7930 ^

















83ae70cb5 ^

9ffec7930 ^
83ae70cb5 ^

9ffec7930 ^

83ae70cb5 ^

9ffec7930 ^


83ae70cb5 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205