{"action":"created","comment":{"url":"https://api.github.com/repos/Samsung/TizenRT/pulls/comments/190505580","pull_request_review_id":122893434,"id":190505580,"diff_hunk":"@@ -451,6 +451,18 @@ int task_manager_set_handler(void (*func)(int signo, tm_msg_t *data))\n \treturn OK;\n }\n \n+int task_manager_set_res_handler(void (*func)(int signo, tm_msg_t *data))\n+{\n+\tif (func == NULL) {\n+\t\treturn TM_INVALID_PARAM;\n+\t}\n+\n+\tif(atexit((void *)func) != OK) {","path":"framework/src/task_manager/taskmgr_interface.c","position":10,"original_position":10,"commit_id":"6a8738156e2712457131d69999a750a49907a973","original_commit_id":"de7f1b3955d009110f952cc82e57ee36cca794eb","user":{"login":"sunghan-chang","id":25810970,"avatar_url":"https://avatars1.githubusercontent.com/u/25810970?v=4","gravatar_id":"","url":"https://api.github.com/users/sunghan-chang","html_url":"https://github.com/sunghan-chang","followers_url":"https://api.github.com/users/sunghan-chang/followers","following_url":"https://api.github.com/users/sunghan-chang/following{/other_user}","gists_url":"https://api.github.com/users/sunghan-chang/gists{/gist_id}","starred_url":"https://api.github.com/users/sunghan-chang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunghan-chang/subscriptions","organizations_url":"https://api.github.com/users/sunghan-chang/orgs","repos_url":"https://api.github.com/users/sunghan-chang/repos","events_url":"https://api.github.com/users/sunghan-chang/events{/privacy}","received_events_url":"https://api.github.com/users/sunghan-chang/received_events","type":"User","site_admin":false},"body":"```\r\nif (\r\n```","created_at":"2018-05-24T08:37:40Z","updated_at":"2018-05-24T08:39:07Z","html_url":"https://github.com/Samsung/TizenRT/pull/1769#discussion_r190505580","pull_request_url":"https://api.github.com/repos/Samsung/TizenRT/pulls/1769","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Samsung/TizenRT/pulls/comments/190505580"},"html":{"href":"https://github.com/Samsung/TizenRT/pull/1769#discussion_r190505580"},"pull_request":{"href":"https://api.github.com/repos/Samsung/TizenRT/pulls/1769"}}},"pull_request":{"url":"https://api.github.com/repos/Samsung/TizenRT/pulls/1769","id":189858539,"html_url":"https://github.com/Samsung/TizenRT/pull/1769","diff_url":"https://github.com/Samsung/TizenRT/pull/1769.diff","patch_url":"https://github.com/Samsung/TizenRT/pull/1769.patch","issue_url":"https://api.github.com/repos/Samsung/TizenRT/issues/1769","number":1769,"state":"open","locked":false,"title":"framework/task_manager: Add resource collection logic","user":{"login":"jeongchanKim","id":25812350,"avatar_url":"https://avatars1.githubusercontent.com/u/25812350?v=4","gravatar_id":"","url":"https://api.github.com/users/jeongchanKim","html_url":"https://github.com/jeongchanKim","followers_url":"https://api.github.com/users/jeongchanKim/followers","following_url":"https://api.github.com/users/jeongchanKim/following{/other_user}","gists_url":"https://api.github.com/users/jeongchanKim/gists{/gist_id}","starred_url":"https://api.github.com/users/jeongchanKim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeongchanKim/subscriptions","organizations_url":"https://api.github.com/users/jeongchanKim/orgs","repos_url":"https://api.github.com/users/jeongchanKim/repos","events_url":"https://api.github.com/users/jeongchanKim/events{/privacy}","received_events_url":"https://api.github.com/users/jeongchanKim/received_events","type":"User","site_admin":false},"body":"When request to terminate or restart, resource collection is needed.\r\nSo if user registered the resource collection handler, task_manager will call that handler.","created_at":"2018-05-23T05:14:19Z","updated_at":"2018-05-24T08:39:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41c0405920bfdedd3957892d79e222a558d9fa4e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Samsung/TizenRT/pulls/1769/commits","review_comments_url":"https://api.github.com/repos/Samsung/TizenRT/pulls/1769/comments","review_comment_url":"https://api.github.com/repos/Samsung/TizenRT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Samsung/TizenRT/issues/1769/comments","statuses_url":"https://api.github.com/repos/Samsung/TizenRT/statuses/6a8738156e2712457131d69999a750a49907a973","head":{"label":"jeongchanKim:tm_callback","ref":"tm_callback","sha":"6a8738156e2712457131d69999a750a49907a973","user":{"login":"jeongchanKim","id":25812350,"avatar_url":"https://avatars1.githubusercontent.com/u/25812350?v=4","gravatar_id":"","url":"https://api.github.com/users/jeongchanKim","html_url":"https://github.com/jeongchanKim","followers_url":"https://api.github.com/users/jeongchanKim/followers","following_url":"https://api.github.com/users/jeongchanKim/following{/other_user}","gists_url":"https://api.github.com/users/jeongchanKim/gists{/gist_id}","starred_url":"https://api.github.com/users/jeongchanKim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeongchanKim/subscriptions","organizations_url":"https://api.github.com/users/jeongchanKim/orgs","repos_url":"https://api.github.com/users/jeongchanKim/repos","events_url":"https://api.github.com/users/jeongchanKim/events{/privacy}","received_events_url":"https://api.github.com/users/jeongchanKim/received_events","type":"User","site_admin":false},"repo":{"id":92730617,"name":"TizenRT","full_name":"jeongchanKim/TizenRT","owner":{"login":"jeongchanKim","id":25812350,"avatar_url":"https://avatars1.githubusercontent.com/u/25812350?v=4","gravatar_id":"","url":"https://api.github.com/users/jeongchanKim","html_url":"https://github.com/jeongchanKim","followers_url":"https://api.github.com/users/jeongchanKim/followers","following_url":"https://api.github.com/users/jeongchanKim/following{/other_user}","gists_url":"https://api.github.com/users/jeongchanKim/gists{/gist_id}","starred_url":"https://api.github.com/users/jeongchanKim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeongchanKim/subscriptions","organizations_url":"https://api.github.com/users/jeongchanKim/orgs","repos_url":"https://api.github.com/users/jeongchanKim/repos","events_url":"https://api.github.com/users/jeongchanKim/events{/privacy}","received_events_url":"https://api.github.com/users/jeongchanKim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeongchanKim/TizenRT","description":"Tizen RT is a lightweight RTOS-based platform to support low-end IoT devices","fork":true,"url":"https://api.github.com/repos/jeongchanKim/TizenRT","forks_url":"https://api.github.com/repos/jeongchanKim/TizenRT/forks","keys_url":"https://api.github.com/repos/jeongchanKim/TizenRT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeongchanKim/TizenRT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeongchanKim/TizenRT/teams","hooks_url":"https://api.github.com/repos/jeongchanKim/TizenRT/hooks","issue_events_url":"https://api.github.com/repos/jeongchanKim/TizenRT/issues/events{/number}","events_url":"https://api.github.com/repos/jeongchanKim/TizenRT/events","assignees_url":"https://api.github.com/repos/jeongchanKim/TizenRT/assignees{/user}","branches_url":"https://api.github.com/repos/jeongchanKim/TizenRT/branches{/branch}","tags_url":"https://api.github.com/repos/jeongchanKim/TizenRT/tags","blobs_url":"https://api.github.com/repos/jeongchanKim/TizenRT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeongchanKim/TizenRT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeongchanKim/TizenRT/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeongchanKim/TizenRT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeongchanKim/TizenRT/statuses/{sha}","languages_url":"https://api.github.com/repos/jeongchanKim/TizenRT/languages","stargazers_url":"https://api.github.com/repos/jeongchanKim/TizenRT/stargazers","contributors_url":"https://api.github.com/repos/jeongchanKim/TizenRT/contributors","subscribers_url":"https://api.github.com/repos/jeongchanKim/TizenRT/subscribers","subscription_url":"https://api.github.com/repos/jeongchanKim/TizenRT/subscription","commits_url":"https://api.github.com/repos/jeongchanKim/TizenRT/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeongchanKim/TizenRT/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeongchanKim/TizenRT/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeongchanKim/TizenRT/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeongchanKim/TizenRT/contents/{+path}","compare_url":"https://api.github.com/repos/jeongchanKim/TizenRT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeongchanKim/TizenRT/merges","archive_url":"https://api.github.com/repos/jeongchanKim/TizenRT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeongchanKim/TizenRT/downloads","issues_url":"https://api.github.com/repos/jeongchanKim/TizenRT/issues{/number}","pulls_url":"https://api.github.com/repos/jeongchanKim/TizenRT/pulls{/number}","milestones_url":"https://api.github.com/repos/jeongchanKim/TizenRT/milestones{/number}","notifications_url":"https://api.github.com/repos/jeongchanKim/TizenRT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeongchanKim/TizenRT/labels{/name}","releases_url":"https://api.github.com/repos/jeongchanKim/TizenRT/releases{/id}","deployments_url":"https://api.github.com/repos/jeongchanKim/TizenRT/deployments","created_at":"2017-05-29T10:43:48Z","updated_at":"2018-05-23T23:32:20Z","pushed_at":"2018-05-24T06:12:05Z","git_url":"git://github.com/jeongchanKim/TizenRT.git","ssh_url":"git@github.com:jeongchanKim/TizenRT.git","clone_url":"https://github.com/jeongchanKim/TizenRT.git","svn_url":"https://github.com/jeongchanKim/TizenRT","homepage":"","size":98450,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Samsung:master","ref":"master","sha":"4bf76f2b85aef79bb9ac409b8d02c53cb349a5a2","user":{"login":"Samsung","id":6210390,"avatar_url":"https://avatars3.githubusercontent.com/u/6210390?v=4","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"repo":{"id":82517252,"name":"TizenRT","full_name":"Samsung/TizenRT","owner":{"login":"Samsung","id":6210390,"avatar_url":"https://avatars3.githubusercontent.com/u/6210390?v=4","gravatar_id":"","url":"https://api.github.com/users/Samsung","html_url":"https://github.com/Samsung","followers_url":"https://api.github.com/users/Samsung/followers","following_url":"https://api.github.com/users/Samsung/following{/other_user}","gists_url":"https://api.github.com/users/Samsung/gists{/gist_id}","starred_url":"https://api.github.com/users/Samsung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samsung/subscriptions","organizations_url":"https://api.github.com/users/Samsung/orgs","repos_url":"https://api.github.com/users/Samsung/repos","events_url":"https://api.github.com/users/Samsung/events{/privacy}","received_events_url":"https://api.github.com/users/Samsung/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Samsung/TizenRT","description":"TizenRT is a lightweight RTOS-based platform to support low-end IoT devices","fork":false,"url":"https://api.github.com/repos/Samsung/TizenRT","forks_url":"https://api.github.com/repos/Samsung/TizenRT/forks","keys_url":"https://api.github.com/repos/Samsung/TizenRT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Samsung/TizenRT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Samsung/TizenRT/teams","hooks_url":"https://api.github.com/repos/Samsung/TizenRT/hooks","issue_events_url":"https://api.github.com/repos/Samsung/TizenRT/issues/events{/number}","events_url":"https://api.github.com/repos/Samsung/TizenRT/events","assignees_url":"https://api.github.com/repos/Samsung/TizenRT/assignees{/user}","branches_url":"https://api.github.com/repos/Samsung/TizenRT/branches{/branch}","tags_url":"https://api.github.com/repos/Samsung/TizenRT/tags","blobs_url":"https://api.github.com/repos/Samsung/TizenRT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Samsung/TizenRT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Samsung/TizenRT/git/refs{/sha}","trees_url":"https://api.github.com/repos/Samsung/TizenRT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Samsung/TizenRT/statuses/{sha}","languages_url":"https://api.github.com/repos/Samsung/TizenRT/languages","stargazers_url":"https://api.github.com/repos/Samsung/TizenRT/stargazers","contributors_url":"https://api.github.com/repos/Samsung/TizenRT/contributors","subscribers_url":"https://api.github.com/repos/Samsung/TizenRT/subscribers","subscription_url":"https://api.github.com/repos/Samsung/TizenRT/subscription","commits_url":"https://api.github.com/repos/Samsung/TizenRT/commits{/sha}","git_commits_url":"https://api.github.com/repos/Samsung/TizenRT/git/commits{/sha}","comments_url":"https://api.github.com/repos/Samsung/TizenRT/comments{/number}","issue_comment_url":"https://api.github.com/repos/Samsung/TizenRT/issues/comments{/number}","contents_url":"https://api.github.com/repos/Samsung/TizenRT/contents/{+path}","compare_url":"https://api.github.com/repos/Samsung/TizenRT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Samsung/TizenRT/merges","archive_url":"https://api.github.com/repos/Samsung/TizenRT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Samsung/TizenRT/downloads","issues_url":"https://api.github.com/repos/Samsung/TizenRT/issues{/number}","pulls_url":"https://api.github.com/repos/Samsung/TizenRT/pulls{/number}","milestones_url":"https://api.github.com/repos/Samsung/TizenRT/milestones{/number}","notifications_url":"https://api.github.com/repos/Samsung/TizenRT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Samsung/TizenRT/labels{/name}","releases_url":"https://api.github.com/repos/Samsung/TizenRT/releases{/id}","deployments_url":"https://api.github.com/repos/Samsung/TizenRT/deployments","created_at":"2017-02-20T04:38:30Z","updated_at":"2018-05-24T08:35:49Z","pushed_at":"2018-05-24T08:35:41Z","git_url":"git://github.com/Samsung/TizenRT.git","ssh_url":"git@github.com:Samsung/TizenRT.git","clone_url":"https://github.com/Samsung/TizenRT.git","svn_url":"https://github.com/Samsung/TizenRT","homepage":"","size":98456,"stargazers_count":171,"watchers_count":171,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":210,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":210,"open_issues":57,"watchers":171,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Samsung/TizenRT/pulls/1769"},"html":{"href":"https://github.com/Samsung/TizenRT/pull/1769"},"issue":{"href":"https://api.github.com/repos/Samsung/TizenRT/issues/1769"},"comments":{"href":"https://api.github.com/repos/Samsung/TizenRT/issues/1769/comments"},"review_comments":{"href":"https://api.github.com/repos/Samsung/TizenRT/pulls/1769/comments"},"review_comment":{"href":"https://api.github.com/repos/Samsung/TizenRT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Samsung/TizenRT/pulls/1769/commits"},"statuses":{"href":"https://api.github.com/repos/Samsung/TizenRT/statuses/6a8738156e2712457131d69999a750a49907a973"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sunghan-chang"}}