Commit Graph

104 Commits

Author SHA1 Message Date
mheily
c8762ecddb Fix another 32-bit compilation issue
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@457 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-03-19 14:11:59 +00:00
mheily
f303c205aa Add an additional sanity check
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@429 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-02-20 03:24:57 +00:00
mheily
3c17c8a2b0 More Solaris improvements
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@428 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-02-16 03:11:19 +00:00
mheily
a2b8894d94 add file and line number to kevent_cmp()
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@425 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-02-15 23:53:04 +00:00
mheily
b3d0b26c5a add additional valgrind targets
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@409 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-02-02 02:54:50 +00:00
mheily
736b3ad6bc Make the Linux backend completely independent from the POSIX backend.
Optimize the Linux backend to remove the use of a per-filter pollfd. 
Each knote now adds a pollable descriptor to a per-kqueue epollfd.

Windows and Solaris backends are not yet refactored and are broken.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@408 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-02-01 02:40:59 +00:00
mheily
e814dc5c6d win32 timer filter mostly done, improved windows_kevent_wait()
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@404 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-21 03:30:35 +00:00
mheily
29a754d3f8 bugfix
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@403 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-19 03:19:23 +00:00
mheily
478a9c1bdb linux fixes
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@402 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-19 03:06:32 +00:00
mheily
0d41f5fd5c bugfix kqtest
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@395 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-17 03:44:17 +00:00
mheily
cdc4911ce2 port unit tests to win32
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@394 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-17 02:23:12 +00:00
mheily
423c8c83bc force the use of 32-bit libgcc (osol bug #6223255)
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@384 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 18:47:13 +00:00
mheily
a7459d2f6d Use dynamic linking instead of static linking
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@382 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 18:17:12 +00:00
mheily
62b2c0fa69 Improvements for the Solaris port.
Fix for an improper use of TSD on Solaris as reported by Joakim Johansson

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@354 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-08 21:49:29 +00:00
mheily
6bd93d33bf solaris fixes
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@301 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-25 04:59:01 +00:00
mheily
820541a55f improve Solaris port
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@295 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-12 03:05:19 +00:00
mheily
049431f845 note stresstest
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@293 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-08 04:59:54 +00:00
mheily
71bd6f3fa9 support debian kfreebsd
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@291 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-07 23:23:40 +00:00
mheily
65ac9745c2 fix a 32-bit build problem
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@288 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-06 02:54:02 +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
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
c3f5bf3e75 remove linuxisms
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@267 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-27 01:26:56 +00:00
mheily
761765c69b fix evfilt_user and ev_dispatch
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@261 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-24 03:21:17 +00:00
mheily
71a0a501e1 fix command line processing
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@260 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-24 02:54:13 +00:00
mheily
5a49176a2c fix ev_dispatch and evfilt_timer
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@259 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-24 02:27:47 +00:00
mheily
6315a6441d fix ev_dispatch and evfilt_signal
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@258 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-24 02:02:35 +00:00
mheily
675dfb0dd9 better explanation
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@257 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-24 02:01:23 +00:00
mheily
ab1f6245e4 fix ev_dispatch with vnode
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@254 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-24 01:04:27 +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
5686c92e64 modify signal
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@236 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-03-28 21:52:21 +00:00
mheily
8553fc4afc res
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@227 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-03-20 14:23:25 +00:00
mheily
f6550c4888 more benchmark
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@226 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-03-20 14:22:19 +00:00
mheily
537113ee61 abtest
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@225 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-03-20 14:21:29 +00:00
mheily
a4f5ef3f4f a working posix/signal.c
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@213 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-11 04:13:04 +00:00
mheily
1f4a2b5279 migrate to posix/signal.c semantics
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@212 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-11 03:17:04 +00:00
mheily
6b3cfa150b block SIGUSR1 before adding the kevent
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@211 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-10 05:26:50 +00:00
mheily
6b970ad7c5 fix dist to remove unwanted files
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@204 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-10 03:06:47 +00:00
mheily
a59da73a9d simplify using kevent_add and kevent_update
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@188 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-07 05:03:21 +00:00
mheily
91ca3e0a96 add die, kevent_update
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@187 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-06 02:09:33 +00:00
mheily
c61853cbc3 prevent descriptor leak
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@186 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-06 01:43:34 +00:00
mheily
20ca86b012 handle coredumps
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@185 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-06 01:43:17 +00:00
mheily
c2fd7ff1e5 fix crasher bug
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@184 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-06 01:13:53 +00:00
mheily
0a027569ea cosmetic change
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@182 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-06 00:46:05 +00:00
mheily
f45fe9aed9 broken backtrace attempt
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@181 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-06 00:18:15 +00:00
mheily
92bbb5403c Don't hide symbols in debug builds
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@179 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-06 00:16:07 +00:00
mheily
1d565b2d0d move back
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@178 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-05 23:49:45 +00:00
mheily
12205ba1e0 move tmp
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@177 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-05 23:49:29 +00:00
mheily
816500f6a4 broken stresstest.. aborts
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@175 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-03 03:48:07 +00:00
mheily
70284deae6 make vnode test reentrant, add to stress test
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@174 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-03 02:52:44 +00:00