evport.c


Log

Author Commit Date CI Message
Nick Mathewson 6b22e74a 2009-10-21T03: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
Nick Mathewson e3fd294a 2009-10-16T13:19:57 Spelling fixes in comments and strings. svn:r1445
Nick Mathewson 8889a770 2009-01-27T22:30:46 Replace all use of config.h with event-config.h. svn:r1064
Nick Mathewson 9993137c 2009-01-27T21:10:31 Remove all trailing whitespace in all the source files. svn:r1063
Niels Provos fa1c9a6d 2009-01-19T23:52:21 rename the backend from "event ports" to "evport" - this will allow environment based disabling to work svn:r1027
Niels Provos ddf3ee97 2009-01-19T07:00:51 make event ports compile again svn:r1020
Nick Mathewson 554e1493 2009-01-14T20:52:32 Move per-fd info from eventops into evmap. Not done for win32.c yet. svn:r1008
Nick Mathewson 169321c9 2009-01-13T20:26:37 Rename four internal headers to follow the -internal.h convention. svn:r1000
Niels Provos d776f846 2008-12-23T22:23:37 deprecate the usage of signal_{add,del,set} and name it evsignal_{add,del,set} instead; move the old definitions to compat svn:r973
Niels Provos 02b2b4d1 2008-12-23T16:37:01 Restructure the event backends so that they do not need to keep track of events themselves, as a side effect multiple events can use the same fd or signal. svn:r972
Niels Provos 2deb3ce0 2008-05-29T01:39:43 simplify handling of environment variables for disabling backends; make event_get_supported_methods obey environment variables; this fixes make verify; problem reported by Scott Lamb. svn:r838
Nick Mathewson 49868b61 2008-04-25T01:18:08 r15316@tombo: nickm | 2008-04-24 20:58:36 -0400 Rename internal memory management functions from event_malloc() etc to mm_malloc() etc. svn:r725
Nick Mathewson a2d4a062 2008-04-17T19:27:54 r15228@tombo: nickm | 2008-04-17 15:27:39 -0400 Use new includes in evport.c and devpoll.c. I do not have the hardware to compile these on; somebody else should test them. svn:r720
Niels Provos f38aec8b 2008-02-12T06:01:46 devpoll and evport need reinit; tested by W.C.A. Wijngaards svn:r633
Niels Provos 6baff522 2008-02-06T16:14:42 EAGAIN check for event ports; from Wijngaards svn:r629
Niels Provos fbe24f43 2007-12-09T05:07:20 remove obsoleted recalc code svn:r581
Niels Provos 5f3e3159 2007-11-27T01:39:10 move EV_PERSIST handling out of the event backends svn:r555
Nick Mathewson 7eb250e9 2007-11-25T17:14:19 r14939@tombo: nickm | 2007-11-25 11:59:26 -0500 New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions. svn:r541
Niels Provos 2026b215 2007-11-03T23:53:49 remove last vestiges of RBTREE svn:r470
Niels Provos 18ac9248 2007-10-27T17:50:07 Solaris event port improvements svn:r464
Nick Mathewson bfd27f58 2007-09-15T18:45:57 r15086@catbus: nickm | 2007-09-15 14:42:55 -0400 Patch from Trond Norbye: Fix two solaris bugs. svn:r432
Niels Provos aa5c8068 2007-06-16T03:23:15 make it compile on solaris; from Andrei Nigmatulin svn:r366
Niels Provos 41b7cbc3 2007-03-10T06:37:53 more the signal base into the event base; this removes global state and makes signals work better with threading; from Wouter Wijngaards small fixes for kqueue and style by me svn:r351
Niels Provos b5d2f9a2 2007-03-01T06:25:18 rolling back r339: evconfig.h does not work svn:r341
Niels Provos 8d94bd03 2007-02-28T04:29:18 signal fixes from scott lamb svn:r340
Niels Provos 127c260b 2007-02-28T04:02:29 make evconfig.h available as installed header file; not really ideal but good enough for me; from Nick Mathewson svn:r339
Niels Provos 49ef242f 2006-08-09T01:04:12 add back the original sun copyright block svn:r219
Niels Provos 00bc7e37 2006-07-15T02:55:57 1.2-rc1; Solaris' event port support from Dave Pacheco svn:r216