Skip to content

Commit 6089960

Browse files
githejiebluca
authored andcommitted
Fix example issue of zmq_timers.adoc
1 parent 90b4f41 commit 6089960

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/zmq_timers.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ _timer_id_ did not exist or was already cancelled.
136136
// Wait until the end
137137
rc = msleep (zmq_timers_timeout (timers));
138138
assert (rc == 0);
139+
140+
// The handler will be executed
141+
rc = zmq_timers_execute (timers);
142+
assert (rc == 0);
139143
assert (timer_invoked);
140144
141145
rc = zmq_timers_destroy (&timers);

0 commit comments

Comments
 (0)