|
0c9be768
|
2011-02-13T02:51:27
|
|
Merge branch '20_evport_pollhup' into patches-2.0
|
|
0144886e
|
2011-01-02T10:17:15
|
|
Check for POLLERR, POLLHUP and POLLNVAL for Solaris event ports
|
|
b42ce4bf
|
2011-01-01T21:17:31
|
|
Fix evport handling of POLLHUP and POLLERR
In other backends, they make _all_ events trigger; with evport they
previously triggered nothing. Found by Phua Keat Yee.
|
|
fbe64f21
|
2010-12-02T10:26:12
|
|
Use relative includes instead of system includes consistently.
|
|
4858b794
|
2010-09-15T01:54:51
|
|
Remove the now-useless evsig_caught and evsig_process
|
|
ec347b92
|
2010-07-07T16:45:03
|
|
Move event-config.h to include/event2
This change means that all required include files are in event2, and
all files not in event2/* are optional.
|
|
c44de06c
|
2010-05-08T18:09:27
|
|
Numerous opensolaris compilation fixes
For future note, opensolaris doesn't have sys/sysctl.h, doesn't like
comparing iov_buf to a chain_space_ptr without a cast, and is (predictably)
unforgiving of dumb syntax errors.
Also, we had accidentally broken the devpoll backend test in configure.in
|
|
c7f1b820
|
2010-03-10T21:21:33
|
|
Merge branch 'evport'
|
|
2c2618d8
|
2010-03-05T13:00:15
|
|
more whitespace normalization
|
|
8fdf09c0
|
2010-02-18T17:08:50
|
|
Clean up formatting: Disallow space-before-tab.
|
|
8111fac0
|
2009-12-29T14:38:35
|
|
Add missing thread imports so that evport.c will build
When I made the changes to release the base lock around the call to
port_getn(), I didn't add evthread-internal.h to the includes in
evport.c would build, and I didn't catch it since I haven't got a
Solaris host to build on. Tao Feng just reported this on
Libevent-users.
|
|
76cd2b70
|
2009-11-27T16:44:47
|
|
Stop passing EVTHREAD_READ and EVTHREAD_WRITE to non-rw locks.
Previously, our default lock model kind of assumed that every lock was
potentially a read-write lock. This was a poor choice, since
read-write locks are far more expensive than regular locks, and so the
lock API should only use them when we can actually take advantage of
them. Neither our pthreads or win32 lock implementation provided rw
locks.
Now that we have a way (not currently used!) to indicate that we
really want a read-write lock, we shouldn't actually say "lock this
for reading" or "lock this for writing" unless we mean it.
|
|
784b8773
|
2009-11-06T21:46:57
|
|
We do not work any more without an event-config.h; stop pretending that it is meaningful to check for HAVE_CONFIG_H
svn:r1516
|
|
2e36dbe1
|
2009-10-26T20:00:43
|
|
Use EVUTIL_ASSERT() consistently instead of assert.
svn:r1464
|
|
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
|
|
e3fd294a
|
2009-10-16T13:19:57
|
|
Spelling fixes in comments and strings.
svn:r1445
|
|
8889a770
|
2009-01-27T22:30:46
|
|
Replace all use of config.h with event-config.h.
svn:r1064
|
|
9993137c
|
2009-01-27T21:10:31
|
|
Remove all trailing whitespace in all the source files.
svn:r1063
|
|
fa1c9a6d
|
2009-01-19T23:52:21
|
|
rename the backend from "event ports" to "evport" - this will allow environment based disabling to work
svn:r1027
|
|
ddf3ee97
|
2009-01-19T07:00:51
|
|
make event ports compile again
svn:r1020
|
|
554e1493
|
2009-01-14T20:52:32
|
|
Move per-fd info from eventops into evmap. Not done for win32.c yet.
svn:r1008
|
|
169321c9
|
2009-01-13T20:26:37
|
|
Rename four internal headers to follow the -internal.h convention.
svn:r1000
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
f38aec8b
|
2008-02-12T06:01:46
|
|
devpoll and evport need reinit; tested by W.C.A. Wijngaards
svn:r633
|
|
6baff522
|
2008-02-06T16:14:42
|
|
EAGAIN check for event ports; from Wijngaards
svn:r629
|
|
fbe24f43
|
2007-12-09T05:07:20
|
|
remove obsoleted recalc code
svn:r581
|
|
5f3e3159
|
2007-11-27T01:39:10
|
|
move EV_PERSIST handling out of the event backends
svn:r555
|
|
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
|
|
2026b215
|
2007-11-03T23:53:49
|
|
remove last vestiges of RBTREE
svn:r470
|
|
18ac9248
|
2007-10-27T17:50:07
|
|
Solaris event port improvements
svn:r464
|
|
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
|
|
aa5c8068
|
2007-06-16T03:23:15
|
|
make it compile on solaris; from Andrei Nigmatulin
svn:r366
|
|
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
|
|
b5d2f9a2
|
2007-03-01T06:25:18
|
|
rolling back r339: evconfig.h does not work
svn:r341
|
|
8d94bd03
|
2007-02-28T04:29:18
|
|
signal fixes from scott lamb
svn:r340
|
|
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
|
|
49ef242f
|
2006-08-09T01:04:12
|
|
add back the original sun copyright block
svn:r219
|
|
00bc7e37
|
2006-07-15T02:55:57
|
|
1.2-rc1; Solaris' event port support from Dave Pacheco
svn:r216
|