{"action":"created","comment":{"url":"https://api.github.com/repos/openucx/ucx/pulls/comments/56836257","id":56836257,"diff_hunk":"@@ -631,6 +633,120 @@ void ucp_worker_progress(ucp_worker_h worker);\n \n \n /**\n+ * @ingroup UCP_WAKEUP\n+ * @brief Obtain an event file descriptor for event notification.\n+ *\n+ * This routine returns a valid file descriptor for polling functions.\n+ * The file descriptor will get signaled when an event occurs, as part of the\n+ * wake-up mechanism. Signaling means a call to poll() or select() with this\n+ * file descriptor will return at this point, with this descriptor marked as the\n+ * reason (or one of the resons) the function has returned.\n+ *\n+ * The worker must be armed before waiting on an event (must be re-armed after","path":"src/ucp/api/ucp.h","position":36,"original_position":36,"commit_id":"a774427b11d9bd0643fbc0bcc4128149a2c47b6c","original_commit_id":"a774427b11d9bd0643fbc0bcc4128149a2c47b6c","user":{"login":"shamisp","id":2236120,"avatar_url":"https://avatars.githubusercontent.com/u/2236120?v=3","gravatar_id":"","url":"https://api.github.com/users/shamisp","html_url":"https://github.com/shamisp","followers_url":"https://api.github.com/users/shamisp/followers","following_url":"https://api.github.com/users/shamisp/following{/other_user}","gists_url":"https://api.github.com/users/shamisp/gists{/gist_id}","starred_url":"https://api.github.com/users/shamisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamisp/subscriptions","organizations_url":"https://api.github.com/users/shamisp/orgs","repos_url":"https://api.github.com/users/shamisp/repos","events_url":"https://api.github.com/users/shamisp/events{/privacy}","received_events_url":"https://api.github.com/users/shamisp/received_events","type":"User","site_admin":false},"body":"again, probably this has to go to \"arm\" . we don't need to repeat it everywhere ","created_at":"2016-03-21T15:00:39Z","updated_at":"2016-03-21T15:00:39Z","html_url":"https://github.com/openucx/ucx/pull/569#discussion_r56836257","pull_request_url":"https://api.github.com/repos/openucx/ucx/pulls/569","_links":{"self":{"href":"https://api.github.com/repos/openucx/ucx/pulls/comments/56836257"},"html":{"href":"https://github.com/openucx/ucx/pull/569#discussion_r56836257"},"pull_request":{"href":"https://api.github.com/repos/openucx/ucx/pulls/569"}}},"pull_request":{"url":"https://api.github.com/repos/openucx/ucx/pulls/569","id":56751608,"html_url":"https://github.com/openucx/ucx/pull/569","diff_url":"https://github.com/openucx/ucx/pull/569.diff","patch_url":"https://github.com/openucx/ucx/pull/569.patch","issue_url":"https://api.github.com/repos/openucx/ucx/issues/569","number":569,"state":"open","locked":false,"title":"UCT/IB: Interrupt notification support","user":{"login":"alex--m","id":8146151,"avatar_url":"https://avatars.githubusercontent.com/u/8146151?v=3","gravatar_id":"","url":"https://api.github.com/users/alex--m","html_url":"https://github.com/alex--m","followers_url":"https://api.github.com/users/alex--m/followers","following_url":"https://api.github.com/users/alex--m/following{/other_user}","gists_url":"https://api.github.com/users/alex--m/gists{/gist_id}","starred_url":"https://api.github.com/users/alex--m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex--m/subscriptions","organizations_url":"https://api.github.com/users/alex--m/orgs","repos_url":"https://api.github.com/users/alex--m/repos","events_url":"https://api.github.com/users/alex--m/events{/privacy}","received_events_url":"https://api.github.com/users/alex--m/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-21T13:52:59Z","updated_at":"2016-03-21T15:00:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"186ad55d55c0cba08f5f6b9c5cf45597425bf179","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openucx/ucx/pulls/569/commits","review_comments_url":"https://api.github.com/repos/openucx/ucx/pulls/569/comments","review_comment_url":"https://api.github.com/repos/openucx/ucx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openucx/ucx/issues/569/comments","statuses_url":"https://api.github.com/repos/openucx/ucx/statuses/a774427b11d9bd0643fbc0bcc4128149a2c47b6c","head":{"label":"alex--m:interrupt_notification_fixed","ref":"interrupt_notification_fixed","sha":"a774427b11d9bd0643fbc0bcc4128149a2c47b6c","user":{"login":"alex--m","id":8146151,"avatar_url":"https://avatars.githubusercontent.com/u/8146151?v=3","gravatar_id":"","url":"https://api.github.com/users/alex--m","html_url":"https://github.com/alex--m","followers_url":"https://api.github.com/users/alex--m/followers","following_url":"https://api.github.com/users/alex--m/following{/other_user}","gists_url":"https://api.github.com/users/alex--m/gists{/gist_id}","starred_url":"https://api.github.com/users/alex--m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex--m/subscriptions","organizations_url":"https://api.github.com/users/alex--m/orgs","repos_url":"https://api.github.com/users/alex--m/repos","events_url":"https://api.github.com/users/alex--m/events{/privacy}","received_events_url":"https://api.github.com/users/alex--m/received_events","type":"User","site_admin":false},"repo":{"id":49874463,"name":"ucx","full_name":"alex--m/ucx","owner":{"login":"alex--m","id":8146151,"avatar_url":"https://avatars.githubusercontent.com/u/8146151?v=3","gravatar_id":"","url":"https://api.github.com/users/alex--m","html_url":"https://github.com/alex--m","followers_url":"https://api.github.com/users/alex--m/followers","following_url":"https://api.github.com/users/alex--m/following{/other_user}","gists_url":"https://api.github.com/users/alex--m/gists{/gist_id}","starred_url":"https://api.github.com/users/alex--m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex--m/subscriptions","organizations_url":"https://api.github.com/users/alex--m/orgs","repos_url":"https://api.github.com/users/alex--m/repos","events_url":"https://api.github.com/users/alex--m/events{/privacy}","received_events_url":"https://api.github.com/users/alex--m/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alex--m/ucx","description":"Unified Communication X  (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group): ","fork":true,"url":"https://api.github.com/repos/alex--m/ucx","forks_url":"https://api.github.com/repos/alex--m/ucx/forks","keys_url":"https://api.github.com/repos/alex--m/ucx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alex--m/ucx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alex--m/ucx/teams","hooks_url":"https://api.github.com/repos/alex--m/ucx/hooks","issue_events_url":"https://api.github.com/repos/alex--m/ucx/issues/events{/number}","events_url":"https://api.github.com/repos/alex--m/ucx/events","assignees_url":"https://api.github.com/repos/alex--m/ucx/assignees{/user}","branches_url":"https://api.github.com/repos/alex--m/ucx/branches{/branch}","tags_url":"https://api.github.com/repos/alex--m/ucx/tags","blobs_url":"https://api.github.com/repos/alex--m/ucx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alex--m/ucx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alex--m/ucx/git/refs{/sha}","trees_url":"https://api.github.com/repos/alex--m/ucx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alex--m/ucx/statuses/{sha}","languages_url":"https://api.github.com/repos/alex--m/ucx/languages","stargazers_url":"https://api.github.com/repos/alex--m/ucx/stargazers","contributors_url":"https://api.github.com/repos/alex--m/ucx/contributors","subscribers_url":"https://api.github.com/repos/alex--m/ucx/subscribers","subscription_url":"https://api.github.com/repos/alex--m/ucx/subscription","commits_url":"https://api.github.com/repos/alex--m/ucx/commits{/sha}","git_commits_url":"https://api.github.com/repos/alex--m/ucx/git/commits{/sha}","comments_url":"https://api.github.com/repos/alex--m/ucx/comments{/number}","issue_comment_url":"https://api.github.com/repos/alex--m/ucx/issues/comments{/number}","contents_url":"https://api.github.com/repos/alex--m/ucx/contents/{+path}","compare_url":"https://api.github.com/repos/alex--m/ucx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alex--m/ucx/merges","archive_url":"https://api.github.com/repos/alex--m/ucx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alex--m/ucx/downloads","issues_url":"https://api.github.com/repos/alex--m/ucx/issues{/number}","pulls_url":"https://api.github.com/repos/alex--m/ucx/pulls{/number}","milestones_url":"https://api.github.com/repos/alex--m/ucx/milestones{/number}","notifications_url":"https://api.github.com/repos/alex--m/ucx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alex--m/ucx/labels{/name}","releases_url":"https://api.github.com/repos/alex--m/ucx/releases{/id}","deployments_url":"https://api.github.com/repos/alex--m/ucx/deployments","created_at":"2016-01-18T12:11:10Z","updated_at":"2016-01-18T12:11:12Z","pushed_at":"2016-03-21T14:52:10Z","git_url":"git://github.com/alex--m/ucx.git","ssh_url":"git@github.com:alex--m/ucx.git","clone_url":"https://github.com/alex--m/ucx.git","svn_url":"https://github.com/alex--m/ucx","homepage":" http://www.openucx.org","size":4520,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openucx:master","ref":"master","sha":"2f2bcce440ed1758c14437ef21bddf3ea81abb3e","user":{"login":"openucx","id":13118737,"avatar_url":"https://avatars.githubusercontent.com/u/13118737?v=3","gravatar_id":"","url":"https://api.github.com/users/openucx","html_url":"https://github.com/openucx","followers_url":"https://api.github.com/users/openucx/followers","following_url":"https://api.github.com/users/openucx/following{/other_user}","gists_url":"https://api.github.com/users/openucx/gists{/gist_id}","starred_url":"https://api.github.com/users/openucx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openucx/subscriptions","organizations_url":"https://api.github.com/users/openucx/orgs","repos_url":"https://api.github.com/users/openucx/repos","events_url":"https://api.github.com/users/openucx/events{/privacy}","received_events_url":"https://api.github.com/users/openucx/received_events","type":"Organization","site_admin":false},"repo":{"id":25379390,"name":"ucx","full_name":"openucx/ucx","owner":{"login":"openucx","id":13118737,"avatar_url":"https://avatars.githubusercontent.com/u/13118737?v=3","gravatar_id":"","url":"https://api.github.com/users/openucx","html_url":"https://github.com/openucx","followers_url":"https://api.github.com/users/openucx/followers","following_url":"https://api.github.com/users/openucx/following{/other_user}","gists_url":"https://api.github.com/users/openucx/gists{/gist_id}","starred_url":"https://api.github.com/users/openucx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openucx/subscriptions","organizations_url":"https://api.github.com/users/openucx/orgs","repos_url":"https://api.github.com/users/openucx/repos","events_url":"https://api.github.com/users/openucx/events{/privacy}","received_events_url":"https://api.github.com/users/openucx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openucx/ucx","description":"Unified Communication X  (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group): ","fork":false,"url":"https://api.github.com/repos/openucx/ucx","forks_url":"https://api.github.com/repos/openucx/ucx/forks","keys_url":"https://api.github.com/repos/openucx/ucx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openucx/ucx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openucx/ucx/teams","hooks_url":"https://api.github.com/repos/openucx/ucx/hooks","issue_events_url":"https://api.github.com/repos/openucx/ucx/issues/events{/number}","events_url":"https://api.github.com/repos/openucx/ucx/events","assignees_url":"https://api.github.com/repos/openucx/ucx/assignees{/user}","branches_url":"https://api.github.com/repos/openucx/ucx/branches{/branch}","tags_url":"https://api.github.com/repos/openucx/ucx/tags","blobs_url":"https://api.github.com/repos/openucx/ucx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openucx/ucx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openucx/ucx/git/refs{/sha}","trees_url":"https://api.github.com/repos/openucx/ucx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openucx/ucx/statuses/{sha}","languages_url":"https://api.github.com/repos/openucx/ucx/languages","stargazers_url":"https://api.github.com/repos/openucx/ucx/stargazers","contributors_url":"https://api.github.com/repos/openucx/ucx/contributors","subscribers_url":"https://api.github.com/repos/openucx/ucx/subscribers","subscription_url":"https://api.github.com/repos/openucx/ucx/subscription","commits_url":"https://api.github.com/repos/openucx/ucx/commits{/sha}","git_commits_url":"https://api.github.com/repos/openucx/ucx/git/commits{/sha}","comments_url":"https://api.github.com/repos/openucx/ucx/comments{/number}","issue_comment_url":"https://api.github.com/repos/openucx/ucx/issues/comments{/number}","contents_url":"https://api.github.com/repos/openucx/ucx/contents/{+path}","compare_url":"https://api.github.com/repos/openucx/ucx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openucx/ucx/merges","archive_url":"https://api.github.com/repos/openucx/ucx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openucx/ucx/downloads","issues_url":"https://api.github.com/repos/openucx/ucx/issues{/number}","pulls_url":"https://api.github.com/repos/openucx/ucx/pulls{/number}","milestones_url":"https://api.github.com/repos/openucx/ucx/milestones{/number}","notifications_url":"https://api.github.com/repos/openucx/ucx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openucx/ucx/labels{/name}","releases_url":"https://api.github.com/repos/openucx/ucx/releases{/id}","deployments_url":"https://api.github.com/repos/openucx/ucx/deployments","created_at":"2014-10-17T22:17:24Z","updated_at":"2016-03-13T22:36:22Z","pushed_at":"2016-03-21T14:52:10Z","git_url":"git://github.com/openucx/ucx.git","ssh_url":"git@github.com:openucx/ucx.git","clone_url":"https://github.com/openucx/ucx.git","svn_url":"https://github.com/openucx/ucx","homepage":" http://www.openucx.org","size":6261,"stargazers_count":28,"watchers_count":28,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":27,"mirror_url":null,"open_issues_count":54,"forks":27,"open_issues":54,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openucx/ucx/pulls/569"},"html":{"href":"https://github.com/openucx/ucx/pull/569"},"issue":{"href":"https://api.github.com/repos/openucx/ucx/issues/569"},"comments":{"href":"https://api.github.com/repos/openucx/ucx/issues/569/comments"},"review_comments":{"href":"https://api.github.com/repos/openucx/ucx/pulls/569/comments"},"review_comment":{"href":"https://api.github.com/repos/openucx/ucx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openucx/ucx/pulls/569/commits"},"statuses":{"href":"https://api.github.com/repos/openucx/ucx/statuses/a774427b11d9bd0643fbc0bcc4128149a2c47b6c"}}}}