kc3-lang/libevent/WIN32-Code

Branch :


Log

Author Commit Date CI Message
25a5e681 2009-11-05 20:37:19 Build fixes for MSVC svn:r1506
d3401928 2009-11-05 18:49:08 Rename win32.c to win32select.c, and take it out of the WIN32-Code ghetto. svn:r1504
a0b30263 2009-11-05 18:07:27 Remove win32-code/config.h. It was apparently confusing. svn:r1502
2e36dbe1 2009-10-26 20:00:43 Use EVUTIL_ASSERT() consistently instead of assert. svn:r1464
d8164d0c 2009-10-21 07:00:14 Fix win32 connect() event handling. Christopher Davis reported: Connection failures aren't reported on Windows when using bufferevent_socket_connect, because Windows uses select's exceptfds to notify of failure, and libevent treats them like read events. Only the write event handler is currently used to handle connection events. We should think hard about this one, since it changes behavior from 1.4.x. Anything that worked on Mac/Unix before will work more consistently on Windows now... but this might break stuff that worked only on Windows, but nowhere else. Patch from Chris Davis. svn:r1454
ed748a48 2009-10-21 04:45:59 Fix win32 compilation. svn:r1451
6b22e74a 2009-10-21 03:54:00 Add locking to event_base_loop. This is harder than it sounds, since we need to make sure to release the lock around the key call to the kernel (e.g., select, epoll_wait, kevent), AND we need to make sure that none of the fields that are used in that call are touched by anything that might be running concurrently in another thread. I managed to do this pretty well for everything but poll(). With poll, I needed to introduce a copy of the event_set structure. This patch also fixes a bug in win32.c where we called realloc() instead of mm_realloc(). svn:r1450
a826a758 2009-07-28 19:41:48 Some tweaks to Brodie Thesfield's MSVC patch. svn:r1386
5b5b880b 2009-07-28 19:41:39 Various MSVC cleanups from Brodie Thiesfield. svn:r1385
a43a1c2b 2009-05-28 20:44:04 Fix compilation problems in win32.c svn:r1322