|
17efc1cd
|
2010-03-04T01:25:51
|
|
Update all our copyright notices to say "2010"
|
|
32c6f1ba
|
2010-02-15T19:54:15
|
|
Construct Windows locks using InitializeCriticalSectionAndSpinCount
Previously we were using InitializeCriticalSection, which creates a
lock that blocks immediately on contention and waits to be
rescheduled. This is inefficient; it's better to wait for a little
while before telling the US to reschedule us, in case the lock becomes
available again really soon (since most locks mostly do).
Good pthreads implementations do this automatically. On Windows,
though, we need to call this magic function, and we need to pick the
spin count ourselves.
|
|
cef61a2f
|
2010-01-26T12:08:17
|
|
Use ev_[u]intptr_t types in place of [u]intptr_t
|
|
a84c87d7
|
2009-11-02T19:51:26
|
|
Refactor IOCP callback interface
Chris Davis points out that GetQueuedCompletionStatus
sometimes returns false not to report "No events for
you!" but instead to report "An overlapped operation
failed." Add a way to tell an event_overlapped that
its operation failed.
svn:r1490
|
|
fa313f28
|
2009-10-29T18:30:43
|
|
Extract XP-only functions when initializing the IOCP port
svn:r1479
|
|
5b5b880b
|
2009-07-28T19:41:39
|
|
Various MSVC cleanups from Brodie Thiesfield.
svn:r1385
|
|
7a844735
|
2009-05-22T17:20:05
|
|
Fix some small win32 build issues on trunk.
svn:r1306
|
|
fe47003d
|
2009-05-05T16:52:37
|
|
Make unit tests for bufferevent_async compile and _almost_ work.
Either I need to make the callbacks get deferred in a base with no events (doable), or I need to make it okay to call launch_read from inside the callback for read (tricky).
svn:r1277
|
|
b69d03b5
|
2009-05-05T14:18:14
|
|
Add a constructor for bufferevent_async.
svn:r1274
|
|
f1090833
|
2009-04-30T19:04:44
|
|
First tests for IOCP loop, and related fixes.
The fixes are: a shutdown mode that works, and a way to activate an
arbitrary event_overlapped.
svn:r1254
|
|
eda27f95
|
2009-04-19T20:54:12
|
|
Update copyright notices, add some missing license statements
svn:r1208
|
|
0b987813
|
2009-04-16T00:32:52
|
|
More hacking on event_iocp.c: make it compile, and give it more of an interface. This code is now testable.
svn:r1176
|
|
09c23b6a
|
2009-04-16T00:27:32
|
|
It seems support for GetCompletionEventEx is not in my mingw. Use the simpler interface instead, for now.
svn:r1175
|
|
93d4f884
|
2009-04-14T20:11:10
|
|
Make buffer iocp stuff compile happily
svn:r1174
|
|
ca737ff3
|
2009-04-13T18:29:31
|
|
Add draft (nonworking) versions of iocp code to hack on more.
svn:r1172
|