{"action":"reopened","issue":{"url":"https://api.github.com/repos/kjs1095/NachOS/issues/31","repository_url":"https://api.github.com/repos/kjs1095/NachOS","labels_url":"https://api.github.com/repos/kjs1095/NachOS/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/kjs1095/NachOS/issues/31/comments","events_url":"https://api.github.com/repos/kjs1095/NachOS/issues/31/events","html_url":"https://github.com/kjs1095/NachOS/issues/31","id":295510140,"number":31,"title":"[Thread-10] Multithreaded Table","user":{"login":"kjs1095","id":10190498,"avatar_url":"https://avatars0.githubusercontent.com/u/10190498?v=4","gravatar_id":"","url":"https://api.github.com/users/kjs1095","html_url":"https://github.com/kjs1095","followers_url":"https://api.github.com/users/kjs1095/followers","following_url":"https://api.github.com/users/kjs1095/following{/other_user}","gists_url":"https://api.github.com/users/kjs1095/gists{/gist_id}","starred_url":"https://api.github.com/users/kjs1095/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjs1095/subscriptions","organizations_url":"https://api.github.com/users/kjs1095/orgs","repos_url":"https://api.github.com/users/kjs1095/repos","events_url":"https://api.github.com/users/kjs1095/events{/privacy}","received_events_url":"https://api.github.com/users/kjs1095/received_events","type":"User","site_admin":false},"labels":[{"id":824834295,"url":"https://api.github.com/repos/kjs1095/NachOS/labels/feature","name":"feature","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"kjs1095","id":10190498,"avatar_url":"https://avatars0.githubusercontent.com/u/10190498?v=4","gravatar_id":"","url":"https://api.github.com/users/kjs1095","html_url":"https://github.com/kjs1095","followers_url":"https://api.github.com/users/kjs1095/followers","following_url":"https://api.github.com/users/kjs1095/following{/other_user}","gists_url":"https://api.github.com/users/kjs1095/gists{/gist_id}","starred_url":"https://api.github.com/users/kjs1095/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjs1095/subscriptions","organizations_url":"https://api.github.com/users/kjs1095/orgs","repos_url":"https://api.github.com/users/kjs1095/repos","events_url":"https://api.github.com/users/kjs1095/events{/privacy}","received_events_url":"https://api.github.com/users/kjs1095/received_events","type":"User","site_admin":false},"assignees":[{"login":"kjs1095","id":10190498,"avatar_url":"https://avatars0.githubusercontent.com/u/10190498?v=4","gravatar_id":"","url":"https://api.github.com/users/kjs1095","html_url":"https://github.com/kjs1095","followers_url":"https://api.github.com/users/kjs1095/followers","following_url":"https://api.github.com/users/kjs1095/following{/other_user}","gists_url":"https://api.github.com/users/kjs1095/gists{/gist_id}","starred_url":"https://api.github.com/users/kjs1095/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjs1095/subscriptions","organizations_url":"https://api.github.com/users/kjs1095/orgs","repos_url":"https://api.github.com/users/kjs1095/repos","events_url":"https://api.github.com/users/kjs1095/events{/privacy}","received_events_url":"https://api.github.com/users/kjs1095/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kjs1095/NachOS/milestones/2","html_url":"https://github.com/kjs1095/NachOS/milestone/2","labels_url":"https://api.github.com/repos/kjs1095/NachOS/milestones/2/labels","id":3085265,"number":2,"title":"Project 2","description":"Multiprogramming","creator":{"login":"kjs1095","id":10190498,"avatar_url":"https://avatars0.githubusercontent.com/u/10190498?v=4","gravatar_id":"","url":"https://api.github.com/users/kjs1095","html_url":"https://github.com/kjs1095","followers_url":"https://api.github.com/users/kjs1095/followers","following_url":"https://api.github.com/users/kjs1095/following{/other_user}","gists_url":"https://api.github.com/users/kjs1095/gists{/gist_id}","starred_url":"https://api.github.com/users/kjs1095/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjs1095/subscriptions","organizations_url":"https://api.github.com/users/kjs1095/orgs","repos_url":"https://api.github.com/users/kjs1095/repos","events_url":"https://api.github.com/users/kjs1095/events{/privacy}","received_events_url":"https://api.github.com/users/kjs1095/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":10,"state":"open","created_at":"2018-02-03T00:18:36Z","updated_at":"2018-03-10T09:13:17Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-08T13:23:42Z","updated_at":"2018-03-10T09:13:17Z","closed_at":null,"author_association":"OWNER","body":"- Implement a thread-safe **Table** class, which stores a collection of untyped object pointers indexed by integers in the range [ 0. . size-1 ]. **Table** can be used to implement internal operating system tables for processes, threads, memory page frames, open files, etc. \r\n- Table has the following methods, defined in the header file Table.h:\r\n  - Table(int size) -- Create a table to hold at most size entries.\r\n  - int Alloc (void* object) -- Allocate a table slot for object, returning index of the allocated entry.\r\n    Return an error (-1) if no free table slots are available.\r\n  - void* Get (int index) -- Retrieve the object from table slot at index, or NULL if not allocated.\r\n  - void Release (int index) -- Free the table slot at index.\r\n- Table class should be free from deadlock if used correctly. "}}
{"actor":{"display_login":"kjs1095"}}