Zeromq interface function: zmq_ctx_new– Create a new ZMQ environment context

Source: Internet
Author: User
Tags creative commons attribution

ZeroMQ Official Address: http://api.zeromq.org/4-0:zmq_ctx_new

Zmq_ctx_new (3) ØMQ Manual-ømq/3.2.5

Name

zmq_ctx_new– Creating a new ZMQ environment context

Synopsis

void *zmq_ctx_new ();

Description

The Zmq_ctx_new () function creates a new ZMQ environment context.

This function replaces the function zmq_init (3), which is no longer in favor of being used.

Thread Safety

The ZMQ environment context is thread-safe and you can use as much of the application thread share as you need without adding a lock to the caller.

Return value

If Zmq_ctx_new () executes successfully, a newly created context handle is returned. Otherwise, this function will return null and set errno to the values defined below.

Errors

This function does not define any error codes.

See Also

ZMQ (7) Zmq_ctx_set (3) zmq_ctx_get (3) Zmq_ctx_destroy (3)

Authors

THISØMQ manual page was written by Pieter Hintjens [email protected]

WEB site design and content is copyright (c) 2007-2012 Imatix Corporation. Contact us for professional support. Site content licensed under the Creative Commons attribution-share alike 3.0 License. ØMQ is copyright (c) Copyright (c) 2007-2012 Imatix Corporation and Contributors. ØMQ is free software licensed under the LGPL. ØMQ, ZeroMQ, and 0MQ are trademarks of Imatix Corporation. Terms of Use-privacy

Policy

Translation: The Storm

Mail: [Email protected]

Zeromq interface function: zmq_ctx_new– Create a new ZMQ environment context

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.