{"action":"created","issue":{"url":"https://api.github.com/repos/JCTools/JCTools/issues/183","repository_url":"https://api.github.com/repos/JCTools/JCTools","labels_url":"https://api.github.com/repos/JCTools/JCTools/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/JCTools/JCTools/issues/183/comments","events_url":"https://api.github.com/repos/JCTools/JCTools/issues/183/events","html_url":"https://github.com/JCTools/JCTools/pull/183","id":240597230,"number":183,"title":"Add support of MessagePassingQueue for BaseSpscLinkedArrayQueue","user":{"login":"franz1981","id":13125299,"avatar_url":"https://avatars1.githubusercontent.com/u/13125299?v=3","gravatar_id":"","url":"https://api.github.com/users/franz1981","html_url":"https://github.com/franz1981","followers_url":"https://api.github.com/users/franz1981/followers","following_url":"https://api.github.com/users/franz1981/following{/other_user}","gists_url":"https://api.github.com/users/franz1981/gists{/gist_id}","starred_url":"https://api.github.com/users/franz1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franz1981/subscriptions","organizations_url":"https://api.github.com/users/franz1981/orgs","repos_url":"https://api.github.com/users/franz1981/repos","events_url":"https://api.github.com/users/franz1981/events{/privacy}","received_events_url":"https://api.github.com/users/franz1981/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-07-05T09:51:20Z","updated_at":"2017-07-11T19:39:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JCTools/JCTools/pulls/183","html_url":"https://github.com/JCTools/JCTools/pull/183","diff_url":"https://github.com/JCTools/JCTools/pull/183.diff","patch_url":"https://github.com/JCTools/JCTools/pull/183.patch"},"body":"Currently the BaseSpscLinkedArrayQueue's based queues do not implement the MessagePassingQueue interface.\r\nI've provided a default (i.e. semantically equal to the MessagePassingQueue doc) implementation to allow polymorphic uses, tests and benchmarks using the enhanced API offered by MessagePassingQueue.\r\nIn future an optimized implementation of the same methods could be provided.\r\nJust a note: I've collected all the default implementations in package private util class."},"comment":{"url":"https://api.github.com/repos/JCTools/JCTools/issues/comments/314549730","html_url":"https://github.com/JCTools/JCTools/pull/183#issuecomment-314549730","issue_url":"https://api.github.com/repos/JCTools/JCTools/issues/183","id":314549730,"user":{"login":"franz1981","id":13125299,"avatar_url":"https://avatars1.githubusercontent.com/u/13125299?v=3","gravatar_id":"","url":"https://api.github.com/users/franz1981","html_url":"https://github.com/franz1981","followers_url":"https://api.github.com/users/franz1981/followers","following_url":"https://api.github.com/users/franz1981/following{/other_user}","gists_url":"https://api.github.com/users/franz1981/gists{/gist_id}","starred_url":"https://api.github.com/users/franz1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franz1981/subscriptions","organizations_url":"https://api.github.com/users/franz1981/orgs","repos_url":"https://api.github.com/users/franz1981/repos","events_url":"https://api.github.com/users/franz1981/events{/privacy}","received_events_url":"https://api.github.com/users/franz1981/received_events","type":"User","site_admin":false},"created_at":"2017-07-11T19:39:11Z","updated_at":"2017-07-11T19:39:11Z","body":"@nitsanw I've put a sanity test on the ``fill`` method (hoping it makes sense how I've done it) and a first implementation of the same.\r\nJust one note: the implementation isn't optimized in the same way of the multi producer version that rightly is trying to minimize expensive multiple CAS.\r\nInstead it tries to honor the given limit (batch size) as much as possible, because there is no contention with other producers. If my assumption is wrong in anyway I can try to build an optimized version around different assumptions of expected behaviours."}}
{"actor":{"display_login":"franz1981"}}