Commit Graph

25 Commits

Author SHA1 Message Date
Ariel Abreu
9a94fadf15
Workaround an issue caused by a flag
When we pass back EV_VANISHED to libdispatch, it thinks we're telling it the source vanished (because that's really what it means) and it explodes
2020-10-06 08:28:31 -04:00
Lubos Dolezel
ed84e41217 Implement kevent64() (resolves darlinghq/darling#288) 2017-04-10 15:13:14 +02:00
Lubos Dolezel
6853b204a0 Changes made to match the ABI of OS X kqueue 2015-11-21 22:05:04 +01:00
mheily
a9575f667f try something different
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@628 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-24 02:00:41 +00:00
marius
624c4e6358 * Repair inclusion of stdint on non-windows platforms
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@522 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-05-27 18:00:58 +00:00
marius
3ff56c255f + stdint.h compatibility when using VS 2008
* Fixed usage of knote_release macros

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@521 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-05-26 19:17:33 +00:00
marius
c4a997e8d5 Add option for static library build activated by defining MAKE_STATIC
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@481 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-16 08:54: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
0e1c7813bf more win32 stuff
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@392 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-17 01:05:25 +00:00
mheily
926fbfd0ec checkpoint of win32
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@391 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-16 23:29:12 +00:00
mheily
77ec2a48f4 improve win32 api
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@389 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-16 19:40:37 +00:00
mheily
fa235b8355 Add win32-specific API
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@380 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 17:49:12 +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
514aabc78f visibilty for win32
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@373 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 03:47:34 +00:00
mheily
34d9c9b036 additional win32 stuff
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@368 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-14 03:46:18 +00:00
mheily
975066c934 move mutex init into a constructor function
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@363 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-13 02:32:15 +00:00
mheily
5688cce8ad mark sys/select.h nonportable
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@362 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-13 01:48:10 +00:00
mheily
dbf72439d9 std=c99 plus a few solaris tweaks
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@265 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-27 01:18:41 +00:00
mheily
e347e440a5 fix header for use in kernel
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@215 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-27 20:07:48 +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
1e05fa1b1d add flags from sys/mount.h for EVFILT_FS
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@96 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-16 01:23:13 +00:00
mheily
9f54e87c1e Restore missing symbols in sys/event.h.
kevent() now returns ENOSYS for filters that are not implemented.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@95 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-16 00:41:01 +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
0c2c2295d6 * Undefine symbols in <sys/event.h> that are not implemented.
* Incomplete implementation of EVFILT_PROC on Linux.

  * Do not set both EV_ENABLE and EV_DISABLE.

  * Block all signals while initializing filters in kqueue().



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@80 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-09 05:27:06 +00:00
mheily
e27c64276f move sys/ under include/
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@66 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-11-08 00:59:36 +00:00