zmq_ctx_new.txt 1005 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. zmq_ctx_new(3)
  2. ==============
  3. NAME
  4. ----
  5. zmq_ctx_new - create new 0MQ context
  6. SYNOPSIS
  7. --------
  8. *void *zmq_ctx_new ();*
  9. DESCRIPTION
  10. -----------
  11. The _zmq_ctx_new()_ function creates a new 0MQ 'context'.
  12. This function replaces the deprecated function linkzmq:zmq_init[3].
  13. .Thread safety
  14. A 0MQ 'context' is thread safe and may be shared among as many application
  15. threads as necessary, without any additional locking required on the part of
  16. the caller.
  17. RETURN VALUE
  18. ------------
  19. The _zmq_ctx_new()_ function shall return an opaque handle to the newly created
  20. 'context' if successful. Otherwise it shall return NULL and set 'errno' to one
  21. of the values defined below.
  22. ERRORS
  23. ------
  24. No error values are defined for this function.
  25. SEE ALSO
  26. --------
  27. linkzmq:zmq[7]
  28. linkzmq:zmq_ctx_set[3]
  29. linkzmq:zmq_ctx_get[3]
  30. linkzmq:zmq_ctx_term[3]
  31. AUTHORS
  32. -------
  33. This page was written by the 0MQ community. To make a change please
  34. read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>.