mheily
a0d54bda95
Build a debug-enabled static library.
...
Build two versions of kqtest with and without debugging enabled.
Use static linking for kqtest and kqtest_debug.
Add additional Makefile targets for profiling with Valgrind
Enable gprof profiling in the debug targets.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@520 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-05-26 03:45:28 +00:00
mheily
cd858d02fd
Eliminate the use of global state variables in kqtest to allow the tests
...
to be run in parallel.
Add two kqtest options: one for iterations, and one for concurrency.
Use -rpath when building kqtest instead of using LD_LIBRARY_PATH
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@519 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-05-25 02:10:36 +00:00
mheily
68e94a12eb
Fix compilation issues on Solaris 10 with GCC 4.5
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@518 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-05-22 03:29:14 +00:00
mheily
5d11e7e930
- Build the static library with MAKE_STATIC to expose libkqueue_init().
...
- Build a statically-linked version of kqtest during 'make check'.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@517 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-05-22 03:01:24 +00:00
mheily
0c2f0771b5
- Build two versions of the library: one for debugging, and one for release.
...
- Link kqtest against libkqueue_debug.so
- Build
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@516 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-05-22 02:44:16 +00:00
mheily
bc9c93a130
Remove www/ directory, since the website is now managed by Trac
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@499 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-05-01 20:25:07 +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
9bbb71b801
Fix various build issues on MinGW.
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@485 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-04-23 18:27:10 +00:00
mheily
89c42b63e8
Upgrade to makeconf r10.
...
Always use -shared when running the linker (fixes Linux build).
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@439 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-02-23 01:41:22 +00:00
mheily
031093aa44
fix solaris-test
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@416 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-02-12 22:16:58 +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
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
40cac6cb7a
Disable kqueue_gc() because of the problem with file descriptor reuse after close().
...
Convert from hook functions to a global kqops vtable.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@400 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-17 19:23:30 +00:00
mheily
cdb7357584
Do not install the static library. Credit: Joakim Johansson
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@398 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-17 16:15:44 +00:00
mheily
44ff8803ec
Build libkqueue.so.0.0 and create symlinks to it for libkqueue.so and libkqueue.so.0, instead of the other way around.
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@386 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 19:13:10 +00:00
mheily
2b0b1e7d51
ensure make clean before make check
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@385 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 18:47:48 +00:00
mheily
8838666599
Do not build a static library by default
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@383 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 18:39:22 +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
fb975b99c9
fix solaris build failure
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@377 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2011-01-15 05:08:54 +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
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
6011110130
fix posix timer.c
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@338 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-17 02:02:31 +00:00
mheily
1ce1560515
improved rpm build
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@337 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-15 02:50:30 +00:00
mheily
f4444c40b8
docfix
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@334 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-15 02:24:34 +00:00
mheily
5262384552
improve website
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@326 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-09-12 20:00:01 +00:00
mheily
954e20f697
solaris socket works
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@305 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-26 00:32:09 +00:00
mheily
2ebcf69f5a
solaris targets
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@302 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-08-25 23:44:52 +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
e4f42b117b
fix deb target
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@246 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-06-09 03:28:23 +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
9f69844f47
bump version to 0.7, move some CFLAGS around
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@243 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-06-01 03:42:49 +00:00
mheily
4f0e567487
changes for deb package
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@242 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-04-03 16:18:42 +00:00
mheily
3ad4ebd7d7
deb fixes
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@241 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-04-03 14:34:49 +00:00
mheily
9d3d2b5132
fix deb target
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@240 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-04-03 02:10:15 +00:00
mheily
a517a28257
initial deb target
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@233 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-03-28 00:29:59 +00:00
mheily
1b2e1de1e2
change publishing
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@229 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-03-20 15:23:11 +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
2e17d1b819
move kern to top level, fixup dist
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@203 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-10 03:00:43 +00:00
mheily
5fcad10bdb
whitespace
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@199 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-10 02:04:45 +00:00
mheily
5509c58cc9
finished work on kqueue_get/put() and kqueue_gc()
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@198 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-10 01:32:49 +00:00
mheily
465bc625b2
build tweak
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@194 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-08 03:09:57 +00:00
mheily
64e9c87c25
fix edit, add cscope
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@173 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-03 01:33:55 +00:00
mheily
5b7b15d3ca
tags enhance
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@170 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-02-01 00:25:00 +00:00
mheily
6d52e321bd
improved Diff target
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@162 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-01-30 05:11:40 +00:00
mheily
93cf16cd0d
improve All target
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@159 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-01-30 04:42:20 +00:00
mheily
8879659bc2
separate .a and .so targets
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@155 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-01-30 01:52:50 +00:00
mheily
4f8fade0ff
new: make edit
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@154 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2010-01-24 23:39:45 +00:00
mheily
854f13b289
add "make all" target
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@129 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-26 00:08:11 +00:00
mheily
b062065edd
new target: debug-install
...
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@124 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2009-12-20 05:39:39 +00:00