libzmq/doc
E. G. Patrick Bos 36e4c9b474
add zmq_ppoll
zmq_ppoll mostly mimics zmq_poll behavior, except for the added feature of being able to specify a signal mask. Signals in this mask will be blocked during execution of zmq_ppoll. Switching of the process' active signal mask happens atomically with the actual poll call, so that no race conditions can occur. This behavior is useful when one wants to gracefully handle POSIX signals without race conditions. See e.g. the discussion below https://250bpm.com/blog:12/ for an explanation.

Also includes two new tests:
1. test_zmq_ppoll_fd does the same thing as test_zmq_poll_fd, demonstrating backwards compatibility with zmq_poll when used with a default signal mask.
2. test_zmq_ppoll_signals demonstrates the use of zmq_ppoll with a signal mask, blocking out SIGTERM everywhere except in zmq_ppoll, allowing to handle the signal in one place without having to worry about race conditions.
2021-09-24 11:04:20 +02:00
..
asciidoc.conf doc: Add 0MQ version to XHTML11 backend footer 2010-09-04 17:42:33 +02:00
Makefile.am add zmq_ppoll 2021-09-24 11:04:20 +02:00
zmq_atomic_counter_dec.txt Problem: 'bool' is not defined by default 2014-12-23 15:20:10 +01:00
zmq_atomic_counter_destroy.txt Problem: 'bool' is not defined by default 2014-12-23 15:20:10 +01:00
zmq_atomic_counter_inc.txt Problem: 'bool' is not defined by default 2014-12-23 15:20:10 +01:00
zmq_atomic_counter_new.txt Problem: 'bool' is not defined by default 2014-12-23 15:20:10 +01:00
zmq_atomic_counter_set.txt Problem: 'bool' is not defined by default 2014-12-23 15:20:10 +01:00
zmq_atomic_counter_value.txt Problem: description of return value is cloned from zmq_atomic_counter_new 2017-10-21 17:21:00 +02:00
zmq_bind.txt problem: no thread-safe alternative for ZMQ_PAIR 2020-05-09 08:49:01 +03:00
zmq_close.txt Problem: zmq_close manpage does not say it's asynchronous 2018-03-21 19:55:55 +00:00
zmq_connect_peer.txt problem: zeromq doesn't has a thread-safe peer to peer socket 2020-02-09 23:20:14 +02:00
zmq_connect.txt problem: no thread-safe alternative for ZMQ_PAIR 2020-05-09 08:49:01 +03:00
zmq_ctx_destroy.txt Use consistant spelling in documentation 2014-11-07 22:27:41 -08:00
zmq_ctx_get_ext.txt Merge pull request #4080 from ardrabczyk/docs-fixes 2020-11-10 09:38:33 +00:00
zmq_ctx_get.txt Problem: not all possible errno values were documented (#4078) 2020-11-09 22:23:43 +01:00
zmq_ctx_new.txt Problem: not all possible errno values were documented (#4078) 2020-11-09 22:23:43 +01:00
zmq_ctx_set_ext.txt Merge pull request #4080 from ardrabczyk/docs-fixes 2020-11-10 09:38:33 +00:00
zmq_ctx_set.txt Problem: Documentation for option name mismatch 2020-02-04 20:00:07 +00:00
zmq_ctx_shutdown.txt Problem: sockets can be created after calling zmq_ctx_shutdown 2020-01-26 18:06:14 +01:00
zmq_ctx_term.txt update zmq_ctx_term description for consistency 2015-03-15 06:29:21 -05:00
zmq_curve_keypair.txt Minor change to zmq_curve_keypair doc 2014-03-06 15:18:42 -06:00
zmq_curve_public.txt Problem: no documentation for zmq_curve_public 2016-12-26 14:54:58 +01:00
zmq_curve.txt Added z85 codec to ZMQ API 2013-09-15 20:13:44 +02:00
zmq_disconnect.txt Problem: zmq_disconnect documentation is confusing and breaks semantics 2019-06-27 18:23:26 +01:00
zmq_errno.txt Use of named authors on man pages is no longer a good idea since it puts off 2013-04-15 18:50:42 +02:00
zmq_getsockopt.txt Problem: No direct support for setting socket priority (#4118) 2021-01-06 22:22:41 +00:00
zmq_gssapi.txt gssapi: add NAMETYPE socket opts to zmq_gssapi.7 2017-04-21 13:08:48 -07:00
zmq_has.txt Problem: typo in the zmq_has doc 2017-01-19 21:00:15 +00:00
zmq_init.txt Revert "Revert "Problem: deprecated use and reference of zmq_term"" 2016-02-01 23:00:06 +01:00
zmq_inproc.txt Add the VMCI transport. 2015-12-08 13:16:09 +06:00
zmq_ipc.txt Add the VMCI transport. 2015-12-08 13:16:09 +06:00
zmq_msg_close.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_msg_copy.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_msg_data.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_msg_get.txt Update zmq_msg_get(ZMQ_SHARED) to return true for type_cmsg messages 2014-07-29 13:43:38 -05:00
zmq_msg_gets.txt Problem: Documentation missing for ZMQ_METADATA socket option 2018-03-15 17:24:54 +01:00
zmq_msg_init_buffer.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_msg_init_data.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_msg_init_size.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_msg_init.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_msg_more.txt Doc examples with zmq_msg_close usage - parameter is 'zmq_msg_t *' 2013-11-04 15:19:34 +02:00
zmq_msg_move.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_msg_recv.txt EAGAIN: Refer to ZMQ_RCVTIMEO when receiving in blocking-mode 2020-01-25 20:04:59 +01:00
zmq_msg_routing_id.txt Problem: client/server pattern is not documented 2015-09-11 17:12:58 -04:00
zmq_msg_send.txt Merge pull request #3686 from trya/doc_sock_block 2019-09-23 20:50:44 +01:00
zmq_msg_set_routing_id.txt Problem: client/server pattern is not documented 2015-09-11 17:12:58 -04:00
zmq_msg_set.txt Use of named authors on man pages is no longer a good idea since it puts off 2013-04-15 18:50:42 +02:00
zmq_msg_size.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00
zmq_null.txt Added configuration for PLAIN security 2013-05-15 17:55:21 +02:00
zmq_pgm.txt Problem: PGM doc missing info on high data rates 2019-05-24 09:55:29 +02:00
zmq_plain.txt Added configuration for PLAIN security 2013-05-15 17:55:21 +02:00
zmq_poll.txt Update fd slot type to zmq_fd_t 2021-05-16 08:50:06 -04:00
zmq_poller.txt Fix zmq_poller.txt 2020-06-27 17:58:16 -04:00
zmq_ppoll.txt add zmq_ppoll 2021-09-24 11:04:20 +02:00
zmq_proxy_steerable.txt Merge pull request #4080 from ardrabczyk/docs-fixes 2020-11-10 09:38:33 +00:00
zmq_proxy.txt Merge pull request #4080 from ardrabczyk/docs-fixes 2020-11-10 09:38:33 +00:00
zmq_recv.txt EAGAIN: Refer to ZMQ_RCVTIMEO when receiving in blocking-mode 2020-01-25 20:04:59 +01:00
zmq_recvmsg.txt EAGAIN: Refer to ZMQ_RCVTIMEO when receiving in blocking-mode 2020-01-25 20:04:59 +01:00
zmq_send_const.txt Problem: zmq_send doc does not match declaration 2020-04-09 13:55:42 +00:00
zmq_send.txt Problem: zmq_send doc does not match declaration 2020-04-09 13:55:42 +00:00
zmq_sendmsg.txt Problem: Documentation about socket blocking on send operations is incorrect 2019-09-23 02:13:04 +02:00
zmq_setsockopt.txt problem: no way to know when connection is temporarly dropped 2021-06-06 17:14:22 +03:00
zmq_socket_monitor_versioned.txt Problem: zmq_socket_monitor_versioned_typed duplicates zmq_socket_monitor_versioned 2019-05-18 16:44:07 +01:00
zmq_socket_monitor.txt Fixed zmq_socket_monitor example 2019-05-01 19:32:53 -07:00
zmq_socket.txt Problem: thread safety documentation is misleading 2020-06-09 10:25:18 +01:00
zmq_strerror.txt Use of named authors on man pages is no longer a good idea since it puts off 2013-04-15 18:50:42 +02:00
zmq_tcp.txt Hwm tests and docs (#3242) 2018-09-13 22:14:06 +01:00
zmq_term.txt Use of named authors on man pages is no longer a good idea since it puts off 2013-04-15 18:50:42 +02:00
zmq_timers.txt Problem: no documentation for zmq_timers_* 2018-07-27 23:04:05 +01:00
zmq_tipc.txt fix markup syntax on zmq_tipc(7) page 2016-09-25 19:19:13 +02:00
zmq_udp.txt Problem: documentation for zmq_udp is outdated 2018-05-10 19:24:48 +02:00
zmq_unbind.txt Problem: wildcard address with udp not mentioned 2020-03-07 14:55:01 +09:00
zmq_version.txt Use of named authors on man pages is no longer a good idea since it puts off 2013-04-15 18:50:42 +02:00
zmq_vmci.txt Add special interface to represent local VMCI context. 2015-12-14 19:20:27 +06:00
zmq_z85_decode.txt Problem: no documentation for zmq_curve_public 2016-12-26 14:54:58 +01:00
zmq_z85_encode.txt Problem: no documentation for zmq_curve_public 2016-12-26 14:54:58 +01:00
zmq.txt Problem: boilerplate when init msg from data copy (#3860) 2020-04-09 23:59:43 +01:00