summaryrefslogtreecommitdiff
path: root/ev.3
diff options
context:
space:
mode:
authorroot <root>2007-11-27 19:23:31 +0000
committerroot <root>2007-11-27 19:23:31 +0000
commit6800c1e86d28e4bc573747e6d327c770b2e00df4 (patch)
treef1ae715ffa8c96a491d28fe0201c5e9df90fa2e0 /ev.3
parent52b9969b0f7befd5965ad9826d9942897fc4dbce (diff)
*** empty log message ***
Diffstat (limited to 'ev.3')
-rw-r--r--ev.36
1 files changed, 6 insertions, 0 deletions
diff --git a/ev.3 b/ev.3
index 01e5c65..d718a09 100644
--- a/ev.3
+++ b/ev.3
@@ -2120,6 +2120,12 @@ defined to be \f(CW0\fR, then they are not.
If you need to shave off some kilobytes of code at the expense of some
speed, define this symbol to \f(CW1\fR. Currently only used for gcc to override
some inlining decisions, saves roughly 30% codesize of amd64.
+.IP "\s-1EV_PID_HASHSIZE\s0" 4
+.IX Item "EV_PID_HASHSIZE"
+\&\f(CW\*(C`ev_child\*(C'\fR watchers use a small hash table to distribute workload by
+pid. The default size is \f(CW16\fR (or \f(CW1\fR with \f(CW\*(C`EV_MINIMAL\*(C'\fR), usually more
+than enough. If you need to manage thousands of children you might want to
+increase this value.
.IP "\s-1EV_COMMON\s0" 4
.IX Item "EV_COMMON"
By default, all watchers have a \f(CW\*(C`void *data\*(C'\fR member. By redefining