{"action":"created","issue":{"url":"https://api.github.com/repos/pebbe/zmq4/issues/81","repository_url":"https://api.github.com/repos/pebbe/zmq4","labels_url":"https://api.github.com/repos/pebbe/zmq4/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/pebbe/zmq4/issues/81/comments","events_url":"https://api.github.com/repos/pebbe/zmq4/issues/81/events","html_url":"https://github.com/pebbe/zmq4/pull/81","id":136764704,"number":81,"title":"Add zmq.ChannelPair","user":{"login":"abligh","id":1240226,"avatar_url":"https://avatars.githubusercontent.com/u/1240226?v=3","gravatar_id":"","url":"https://api.github.com/users/abligh","html_url":"https://github.com/abligh","followers_url":"https://api.github.com/users/abligh/followers","following_url":"https://api.github.com/users/abligh/following{/other_user}","gists_url":"https://api.github.com/users/abligh/gists{/gist_id}","starred_url":"https://api.github.com/users/abligh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abligh/subscriptions","organizations_url":"https://api.github.com/users/abligh/orgs","repos_url":"https://api.github.com/users/abligh/repos","events_url":"https://api.github.com/users/abligh/events{/privacy}","received_events_url":"https://api.github.com/users/abligh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-26T17:48:40Z","updated_at":"2016-06-03T08:59:19Z","closed_at":"2016-06-03T08:59:19Z","pull_request":{"url":"https://api.github.com/repos/pebbe/zmq4/pulls/81","html_url":"https://github.com/pebbe/zmq4/pull/81","diff_url":"https://github.com/pebbe/zmq4/pull/81.diff","patch_url":"https://github.com/pebbe/zmq4/pull/81.patch"},"body":"Add an (experimental) zmq.ChannelPair class which wraps a zmq socket into a TX and RX channel.\r\n\r\nCurrently ZMQ sockets are not threadsafe. These are difficulty to use in combination with golang channels as you can poll on a set of sockets, or select on a set of channels, but not both. This creates problems if you want to use conventional go techniques, e.g. using a `chan bool` for ending goroutines.\r\n\r\nThis experimental patch provides an optional means of wrapping a ZMQ socket into a ChannelPair, which provides an Rx and Tx channel (as well as an error channel). This is loosely based on the idea of another go binding:\r\n http://github.com/vaughan0/go-zmq\r\nbut works with ZMQ 4.x.\r\n\r\nThis is currently lightly tested / experimental, and is submitted to solicit feedback.\r\n\r\nSigned-off-by: Alex Bligh <alex@alex.org.uk>"},"comment":{"url":"https://api.github.com/repos/pebbe/zmq4/issues/comments/223527405","html_url":"https://github.com/pebbe/zmq4/pull/81#issuecomment-223527405","issue_url":"https://api.github.com/repos/pebbe/zmq4/issues/81","id":223527405,"user":{"login":"pebbe","id":829557,"avatar_url":"https://avatars.githubusercontent.com/u/829557?v=3","gravatar_id":"","url":"https://api.github.com/users/pebbe","html_url":"https://github.com/pebbe","followers_url":"https://api.github.com/users/pebbe/followers","following_url":"https://api.github.com/users/pebbe/following{/other_user}","gists_url":"https://api.github.com/users/pebbe/gists{/gist_id}","starred_url":"https://api.github.com/users/pebbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pebbe/subscriptions","organizations_url":"https://api.github.com/users/pebbe/orgs","repos_url":"https://api.github.com/users/pebbe/repos","events_url":"https://api.github.com/users/pebbe/events{/privacy}","received_events_url":"https://api.github.com/users/pebbe/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T08:59:19Z","updated_at":"2016-06-03T08:59:19Z","body":"Since there ave been no more responses for a while, I am closing this pull request without merging.\r\n\r\nIf you still feel this pull request is usefull, please rewrite it as a design pattern, and add it to the wiki:\r\nhttps://github.com/pebbe/zmq4/wiki/DesignPatterns"}}
{"actor":{"display_login":"pebbe"}}