{"action":"created","issue":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/1886","repository_url":"https://api.github.com/repos/zeromq/libzmq","labels_url":"https://api.github.com/repos/zeromq/libzmq/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/libzmq/issues/1886/comments","events_url":"https://api.github.com/repos/zeromq/libzmq/issues/1886/events","html_url":"https://github.com/zeromq/libzmq/issues/1886","id":146537290,"number":1886,"title":"Does zmq is thread safe ?","user":{"login":"pengweichu","id":12697283,"avatar_url":"https://avatars.githubusercontent.com/u/12697283?v=3","gravatar_id":"","url":"https://api.github.com/users/pengweichu","html_url":"https://github.com/pengweichu","followers_url":"https://api.github.com/users/pengweichu/followers","following_url":"https://api.github.com/users/pengweichu/following{/other_user}","gists_url":"https://api.github.com/users/pengweichu/gists{/gist_id}","starred_url":"https://api.github.com/users/pengweichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengweichu/subscriptions","organizations_url":"https://api.github.com/users/pengweichu/orgs","repos_url":"https://api.github.com/users/pengweichu/repos","events_url":"https://api.github.com/users/pengweichu/events{/privacy}","received_events_url":"https://api.github.com/users/pengweichu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-07T07:49:23Z","updated_at":"2016-04-07T08:01:50Z","closed_at":"2016-04-07T08:01:50Z","body":"Hi, does the zmq is thread safe? Say I have two thread, one is called the zmq::poll in loop, another one will call zmq::send to send the data, shall I lock the poll and send ?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/comments/206748735","html_url":"https://github.com/zeromq/libzmq/issues/1886#issuecomment-206748735","issue_url":"https://api.github.com/repos/zeromq/libzmq/issues/1886","id":206748735,"user":{"login":"hintjens","id":307976,"avatar_url":"https://avatars.githubusercontent.com/u/307976?v=3","gravatar_id":"","url":"https://api.github.com/users/hintjens","html_url":"https://github.com/hintjens","followers_url":"https://api.github.com/users/hintjens/followers","following_url":"https://api.github.com/users/hintjens/following{/other_user}","gists_url":"https://api.github.com/users/hintjens/gists{/gist_id}","starred_url":"https://api.github.com/users/hintjens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hintjens/subscriptions","organizations_url":"https://api.github.com/users/hintjens/orgs","repos_url":"https://api.github.com/users/hintjens/repos","events_url":"https://api.github.com/users/hintjens/events{/privacy}","received_events_url":"https://api.github.com/users/hintjens/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T08:01:50Z","updated_at":"2016-04-07T08:01:50Z","body":"Please read the Guide, it is well explained there."}}