Skip to content

Commit

Permalink
Fix example issue of zmq_timers.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
githejie authored and bluca committed Nov 22, 2024
1 parent 90b4f41 commit 6089960
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/zmq_timers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ _timer_id_ did not exist or was already cancelled.
// Wait until the end
rc = msleep (zmq_timers_timeout (timers));
assert (rc == 0);
// The handler will be executed
rc = zmq_timers_execute (timers);
assert (rc == 0);
assert (timer_invoked);
rc = zmq_timers_destroy (&timers);
Expand Down

0 comments on commit 6089960

Please sign in to comment.