Commit Graph

42 Commits

Author SHA1 Message Date
Mark Heily
fd76168ac6 * Fix incorrect boolean logic in src/linux/read.c
(Credit: marcos69, closes #5)
2015-01-26 22:09:53 -05:00
Mark Heily
f14c4b8fc0 Fix a build failure on mips64el 2014-07-24 21:45:40 -04:00
Mark Heily
c15355a4cf fix libkqueue.pc generation 2014-03-09 20:40:24 -04:00
Mark Heily
04ca429631 bump version to 2.0.2 2014-02-23 15:31:04 -05:00
mheily
9da9c98f4e Switch to autoconf/automake
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@666 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2014-01-26 18:00:46 +00:00
mheily
843a5ca561 Release version 2.0.1
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@646 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-05-09 01:43:36 +00:00
mheily
aed62e257a Release 2.0
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@639 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-04-30 02:15:04 +00:00
mheily
a21da812d9 add changelog
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@611 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-24 23:39:25 +00:00
mheily
a316fbb867 * Optimize kevent() when it is called with a zero timeout.
(Credit: Eric Wong)



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@609 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-24 17:19:37 +00:00
mheily
21f15f32e2 * Avoid calling getsockopt() on file descriptors that are not sockets.
(Credit: Eric Wong)

  * Call epoll_wait after linux_kevent_wait_hires()
    (Credit: Eric Wong)

  * Detect regular files correctly 
    (Credit: Eric Wong)



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@608 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-09 22:28:45 +00:00
mheily
e41cc259a0 * Ensure that calling close() on a file descriptor will remove any
kevents that reference the descriptor. [merged from ^/branches/stable@551]



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@590 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-11-25 22:31:57 +00:00
mheily
e83001b8fd * Remove the SERIALIZE_KEVENT macro, and always protect kevent_copyin()
and kevent_copyout() with a mutex.
 
 * Remove fine-grained locking at the knote level.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@585 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-11-25 20:46:02 +00:00
mheily
ef63a7a6ff Rollback to r371 to eliminate kqtest failure on Solaris
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@379 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 17:43:12 +00:00
mheily
ad93cfbc8b add solaris failure note
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@378 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 05:17:43 +00:00
mheily
4db83e289c * Add a counter that increments on each each kevent() call. When printing
debug information within kevent(), display the value of the counter.
 This will be helpful when debugging a multithreaded program that may have
 multiple kevent() calls executing in parallel.    (Credit: Julien Blache)



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@347 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-22 01:18:18 +00:00
mheily
5925b40d2d fix cl
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@344 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-18 18:52:29 +00:00
mheily
f8533e560d clean all .o files from tree
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@343 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-18 18:52:15 +00:00
mheily
c2790d111b bump version
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@341 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-18 18:47:54 +00:00
mheily
72f7108e58 rel 1.0
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@340 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-18 18:47:24 +00:00
mheily
bda96cb16c bump version number
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@309 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-05 16:52:46 +00:00
mheily
96766f99d7 * Fix a typo in kevent_copyin() that caused EV_RECEIPT to set the
data field incorrectly in some cases. 
    (Credit to Julien Blache for discovering and fixing this bug)



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@308 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-05 16:51:51 +00:00
mheily
55e65660b9 * Fix some build failures on 32-bit platforms related to the debugging
codepaths being enabled by default.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@289 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-06 03:12:16 +00:00
mheily
69fde60f56 * Prevent dumping of EVFILT_VNODE debugging information to STDOUT.
* Fix the 'make clean' target in the testsuite.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@286 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-05 02:20:08 +00:00
mheily
2513d7f0dd rel 0.9
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@285 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-04 02:39:20 +00:00
mheily
ad0dcb4491 * Use the KQUEUE_DEBUG environment variable to turn on debugging output.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@283 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-04 02:17:12 +00:00
mheily
cc1c0f78fd Handle ENOTSOCK properly
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@282 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-03 02:46:27 +00:00
mheily
1d63775718 0.8 try 2
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@264 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-25 00:15:18 +00:00
mheily
e27f324078 rel_0_8
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@263 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-25 00:12:55 +00:00
mheily
18ad3e9bc0 * Fix a bug that prevented a knote with the EV_DISPATCH flag from
being re-enabled after an event had been triggered. 
    [Credit to Julien Blache for finding and researching this bug]



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@252 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-22 02:59:28 +00:00
mheily
c3d2fc87bf rel 0.7 #3
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@248 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-06-09 03:48:14 +00:00
mheily
dbfe4a8073 rel 7.0 #2
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@247 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-06-09 03:41:18 +00:00
mheily
caa5dad060 Release 0.7
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@245 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-06-09 03:25:20 +00:00
mheily
9d9a22912b version 0.6
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@238 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-03-28 22:46:40 +00:00
mheily
1c2b95e077 v0.5
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@200 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-10 02:06:19 +00:00
mheily
17ff7b0c8d v0.4
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@133 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-26 19:53:54 +00:00
mheily
2889f3c3fb initial incomplete RPM implementation
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@97 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-16 03:54:47 +00:00
mheily
81927a09bc fix make dist; actual 0.3 is this one
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@84 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-11 02:41:45 +00:00
mheily
d168575b1c version 0.3
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@83 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-11 02:35:25 +00:00
mheily
6dca6b64be revert bad checkin #60
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@61 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-07 21:02:10 +00:00
mheily
e5968c6ac4 attempt to merge
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@60 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-07 20:59:21 +00:00
mheily
34cbbc0ada v0.2
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@59 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-07 20:55:22 +00:00
mheily
8a11ae04dc * Do not link the test program with the pthreads library.
* pkg-config no longer requires linking with -lpthread and -lrt.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@58 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-07 20:29:41 +00:00