Commit Graph

12 Commits

Author SHA1 Message Date
mheily
1e3ee7ad18 Use pthread_once() instead of marking libkqueue_init() as a constructor.
This gives the correct behavior for both static and dynamic libraries.


git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@591 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-11-26 02:32:45 +00:00
mheily
0e25c817d0 Document the need to use deferred cancellation with specific cancellation points.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@540 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-04-20 18:18:30 +00:00
mheily
25a23721b5 Document the need to fix the "stub" functions
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@537 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-04-19 19:33:00 +00:00
mheily
fcc95e5a18 Re-enable the knote mutex and reference counter.
Improve the knote reference counting mechanism.

New function knote_delete().

Rename 'flags' to 'kn_flags' in struct knote.

Rename 'mtx' to 'kn_mtx' in struct knote.

Rename 'kntree_ent' to 'kn_entries' in struct knote.

Add a knote flag named 'KNFL_KNOTE_DELETED' to indicate that a knote has been deleted. With reference counting, this becomes necessary.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@491 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-27 03:30:31 +00:00
mheily
89f858788f Testing SVN post-commit hook
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@480 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-14 01:12:48 +00:00
mheily
cee1de5c60 Test commit, trying a post-commit email notify hook
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@479 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-14 00:58:03 +00:00
mheily
252e29883a Test commit, trying a post-commit email notify hook
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@478 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-14 00:56:09 +00:00
mheily
d417316168 Document test failure on SunOS
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@477 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-14 00:53:06 +00:00
marius
0fb0ab9c2b Test commit as marius@
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@470 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-13 01:14:30 +00:00
mheily
4e607edd42 Support regular files with EVFILT_READ, fixes the dispatch_read test in libdispatch
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@466 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-06 02:49:48 +00:00
mheily
543ba08bf2 Document a Linux bug
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@454 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-03-12 17:01:51 +00:00
mheily
74dba6448f bug
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@249 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-07-15 01:25:07 +00:00