summaryrefslogtreecommitdiff
path: root/bufferevent-internal.h
diff options
context:
space:
mode:
authorOndřej Kuzník <ondra@mistotebe.net>2013-12-05 22:45:45 +0000
committerOndřej Kuzník <ondra@mistotebe.net>2013-12-05 22:45:45 +0000
commitbd41947175f9156d0cd631a0f7a81161a39c66fa (patch)
tree727a3fe86ad79198756ab7e1d3e03d21763ad6d9 /bufferevent-internal.h
parenta7384c782486c293e9cb8c22916eb9ee842a8c1c (diff)
downloadlibevent-bd41947175f9156d0cd631a0f7a81161a39c66fa.tar.gz
Clarifications in response to merge req. comments
Diffstat (limited to 'bufferevent-internal.h')
-rw-r--r--bufferevent-internal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/bufferevent-internal.h b/bufferevent-internal.h
index 12ae142b..70b25cd9 100644
--- a/bufferevent-internal.h
+++ b/bufferevent-internal.h
@@ -340,10 +340,10 @@ int bufferevent_decref_(struct bufferevent *bufev);
int bufferevent_decref_and_unlock_(struct bufferevent *bufev);
/** Internal: If callbacks are deferred and we have a read callback, schedule
- * a readcb. Otherwise just run the readcb. */
+ * a readcb. Otherwise just run the readcb. Ignores watermarks. */
void bufferevent_run_readcb_(struct bufferevent *bufev, int options);
/** Internal: If callbacks are deferred and we have a write callback, schedule
- * a writecb. Otherwise just run the writecb. */
+ * a writecb. Otherwise just run the writecb. Ignores watermarks. */
void bufferevent_run_writecb_(struct bufferevent *bufev, int options);
/** Internal: If callbacks are deferred and we have an eventcb, schedule
* it to run with events "what". Otherwise just run the eventcb.
@@ -352,7 +352,8 @@ void bufferevent_run_eventcb_(struct bufferevent *bufev, short what, int options
/** Internal: Run or schedule (if deferred or options contain
* BEV_TRIG_DEFER_CALLBACKS) I/O callbacks specified in iotype.
- * Must already hold the bufev lock. */
+ * Must already hold the bufev lock. Honors watermarks unless
+ * BEV_TRIG_IGNORE_WATERMARKS is in options. */
void bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options);