Commit Graph

40 Commits

Author SHA1 Message Date
marius
86b1fbb760 EVTFILT_TIMER working on windows
Added binary files on windows to svn:ignore

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@483 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-17 19:34:34 +00:00
marius
9abd0fc49c Made libkqueue compile on windows again - functionality still broken on this platform
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@473 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-13 17:35:34 +00:00
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
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
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
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
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
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
b24deab5dc test peer_close_detection
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@172 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-02 03:52:11 +00:00
mheily
bef359c971 testsuite improvements
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@168 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-01-31 22:05:44 +00:00
mheily
04d6cfd206 fix memleaks in debug _dump() functions
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@167 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-01-31 17:06:13 +00:00
mheily
f3e7e80c9f improved test suite output; no content changes
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@156 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-01-30 02:42:04 +00:00
mheily
f69b659e6a change ev_receipt test
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@131 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-26 05:38:16 +00:00
mheily
bc6c9c7ed1 Don't force --debug and reconfiguration
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@130 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-26 05:23:08 +00:00
mheily
915093ef8d BUGFIX: Adjust the eventlist when EV_RECEIPT causes it to be modified
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@127 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-26 00:05:36 +00:00
mheily
38ede7e343 Improved printf() debugging output
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@121 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-20 05:13:53 +00:00
mheily
c0bd9b968f * Fix problem with EVFILT_USER where EV_CLEAR was implicitly set in flags. Passes test suite
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@120 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-18 01:45:05 +00:00
mheily
2fb6a09262 Fix EVFILT_USER checks on FreeBSD which breaks it on Linux
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@118 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-15 05:34:40 +00:00
mheily
bab7f0f8d8 * Ported to Solaris 10. The port compiles but does not work yet.
* Experimental work on EVFILT_PROC, disabled by default.

  * kqueue() init hook

  * kevent() split into several hook functions.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@106 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-24 03:32:59 +00:00
mheily
c9e5fa9267 fix broken tr
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@105 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-20 04:37:04 +00:00
mheily
b44551fd69 freebsd ev_add workaround
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@93 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-14 21:39:03 +00:00
mheily
e969cf5831 tests: works on linux, more like freebsd
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@92 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-14 21:37:07 +00:00
mheily
2a0180a9de port unit tests to FreeBSD 8.0-STABLE
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@90 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-14 19:13:12 +00:00
mheily
75957fe980 fix error in kevent_dump reported by Jean-Daniel Dupas
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@89 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-13 23:25:12 +00:00
mheily
24d9e68261 Use memcpy(3) in kf_copyout instead of manually setting each kevent field. Should fix the EV_DISPATCH test failure on OS X 10.6
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@87 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-12 02:37:18 +00:00
mheily
5f344d3b2e * Enough tests to decide that EVFILT_PROC is majorly broken.
* Remove kqueue_free() and replace it with the gc thread.

  * Tested the gc thread and it looks good.

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@82 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-11 02:19:33 +00:00
mheily
417f3f4f2b port to openbsd
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@74 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-08 05:24:11 +00:00
mheily
69d51032a8 EVFILT_USER implemented
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@70 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-08 04:59:18 +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
1054ce3ed4 * Implement EVFILT_TIMER on Linux.
* Fix another 'make install' problem reported by Mario Schwalbe.

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@57 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-07 19:24:32 +00:00
mheily
12fc5329ce vnode fixes, build fixes.
unit tests run under linux and openbsd.
last checkin before 0.1 branch

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@45 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-06 03:12:23 +00:00
mheily
8adb5a21f3 All tests work under OpenBSD 4.4 amd64
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@41 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-05 02:20:57 +00:00
mheily
3df100ddbf evfilt_vnode tests work
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@39 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-05 02:16:01 +00:00
mheily
2ecae8b19c fixed evfilt_signal
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@38 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-04 23:22:31 +00:00
mheily
bc7722e403 evfilt_read works, broken import of evfilt_socket
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@37 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-04 22:49:10 +00:00
mheily
f516258535 initial split of test suite to separate directory
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@36 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-04 22:07:39 +00:00