{"action":"closed","issue":{"url":"https://api.github.com/repos/ofiwg/libfabric/issues/1861","repository_url":"https://api.github.com/repos/ofiwg/libfabric","labels_url":"https://api.github.com/repos/ofiwg/libfabric/issues/1861/labels{/name}","comments_url":"https://api.github.com/repos/ofiwg/libfabric/issues/1861/comments","events_url":"https://api.github.com/repos/ofiwg/libfabric/issues/1861/events","html_url":"https://github.com/ofiwg/libfabric/issues/1861","id":140801280,"number":1861,"title":"Why are the creation / addition of resources to poll sets and wait sets different?","user":{"login":"jsquyres","id":617316,"avatar_url":"https://avatars.githubusercontent.com/u/617316?v=3","gravatar_id":"","url":"https://api.github.com/users/jsquyres","html_url":"https://github.com/jsquyres","followers_url":"https://api.github.com/users/jsquyres/followers","following_url":"https://api.github.com/users/jsquyres/following{/other_user}","gists_url":"https://api.github.com/users/jsquyres/gists{/gist_id}","starred_url":"https://api.github.com/users/jsquyres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsquyres/subscriptions","organizations_url":"https://api.github.com/users/jsquyres/orgs","repos_url":"https://api.github.com/users/jsquyres/repos","events_url":"https://api.github.com/users/jsquyres/events{/privacy}","received_events_url":"https://api.github.com/users/jsquyres/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ofiwg/libfabric/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-14T21:23:16Z","updated_at":"2016-04-04T23:00:39Z","closed_at":"2016-04-04T23:00:39Z","body":"From http://ofiwg.github.io/libfabric/master/man/fi_poll.3.html, it looks like:\r\n\r\n* Poll sets:\r\n  * You create a poll set with `fi_poll_open` and close it with `fi_close`.\r\n  * You add a CQ or counter to the poll set with `fi_poll_add` and remove it via `fi_poll_del`\r\n* Wait sets:\r\n  * You create a wait set with `fi_wait_open` and close it with `fi_close`.\r\n  * You add a CQ/EQ to a wait set by passing flags in to CQ/EQ creation\r\n\r\nWhy is there asymmetry in adding / removing fabric descriptors to poll sets vs. wait sets?  I.e., why is there no `fi_wait_add` / `fi_wait_del`?"}}