{"id":18735858,"url":"https://github.com/tsimpdim/readerswriters","last_synced_at":"2025-10-04T18:33:25.985Z","repository":{"id":90663523,"uuid":"181341369","full_name":"TsimpDim/ReadersWriters","owner":"TsimpDim","description":"Project for Parallel and Distributed Computations","archived":false,"fork":false,"pushed_at":"2019-04-25T08:14:14.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T16:43:15.634Z","etag":null,"topics":["java","multithreading","reader-writer-problem","reader-writer-problem-solution","readers-writer-lock"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TsimpDim.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-14T17:00:42.000Z","updated_at":"2022-02-25T17:38:08.000Z","dependencies_parsed_at":"2023-07-09T04:00:12.643Z","dependency_job_id":null,"html_url":"https://github.com/TsimpDim/ReadersWriters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TsimpDim%2FReadersWriters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TsimpDim%2FReadersWriters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TsimpDim%2FReadersWriters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TsimpDim%2FReadersWriters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TsimpDim","download_url":"https://codeload.github.com/TsimpDim/ReadersWriters/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239611992,"owners_count":19668274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","multithreading","reader-writer-problem","reader-writer-problem-solution","readers-writer-lock"],"created_at":"2024-11-07T15:18:23.439Z","updated_at":"2025-10-04T18:33:25.472Z","avatar_url":"https://github.com/TsimpDim.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tsimpitas Dimitris dai17131 [Readers- Writers]\r\n\r\n## Example Execution:\r\n### Server\r\n---\r\n```\r\nServer Waiting\r\n[INIT STATE]\r\nFlight    |Status    |Time      \r\n----------|----------|--------\r\nWD623     |DEPARTING |22:22     \r\n          |          |          \r\nVL001     |BOARDING  |17:02     \r\n          |          |          \r\nHZ205     |EN ROUTE  |17:02     \r\n          |          |          \r\nCX183     |EN ROUTE  |07:07     \r\n          |          |          \r\n\r\n\r\nFlight    |Status    |Time      \r\n----------|----------|--------\r\nWD623     |DEPARTING |22:22     \r\n          |          |          \r\nVL001     |BOARDING  |17:02     \r\n          |          |          \r\nHZ205     |EN ROUTE  |12:31     \r\n          |          |          \r\nCX183     |EN ROUTE  |07:07     \r\n          |          |          \r\n\r\n\r\nFlight    |Status    |Time      \r\n----------|----------|--------\r\nWD623     |DEPARTING |22:22     \r\n          |          |          \r\nVL001     |BOARDING  |03:53     \r\n          |          |          \r\nHZ205     |EN ROUTE  |12:31     \r\n          |          |          \r\nCX183     |EN ROUTE  |07:07     \r\n          |          |          \r\n\r\n\r\nFlight    |Status    |Time      \r\n----------|----------|--------\r\nWD623     |DEPARTING |22:22     \r\n          |          |          \r\nVL001     |EN ROUTE  |12:31     \r\n          |          |          \r\nHZ205     |EN ROUTE  |12:31     \r\n          |          |          \r\nCX183     |EN ROUTE  |07:07     \r\n          |          |          \r\n   \r\n```\r\n\r\n### Clients \r\n---\r\n```\r\nC11[W] sending request\r\nC7[R] sending request\r\nC3[R] sending request\r\nC5[R] sending request\r\nC9[R] sending request\r\nC8[R] sending request\r\nC1[R] sending request\r\nC2[R] sending request\r\nC4[R] sending request\r\nC13[W] sending request\r\nC11[W] received a reply:\r\n\tReply opcode = WOK | Reply value = null\r\nC7[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=12:31, status=EN ROUTE}\r\nC9[R] received a reply:\r\n\tReply opcode = RERROR | Reply value = null\r\nC3[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=07:07, status=EN ROUTE}\r\nC8[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=12:31, status=EN ROUTE}\r\nC5[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=22:22, status=DEPARTING}\r\nC4[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=07:07, status=EN ROUTE}\r\nC2[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=12:31, status=EN ROUTE}\r\nC1[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=22:22, status=DEPARTING}\r\nC6[R] sending request\r\nC12[W] sending request\r\nC13[W] received a reply:\r\n\tReply opcode = WOK | Reply value = null\r\nC6[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=03:53, status=BOARDING}\r\nC10[R] sending request\r\nC12[W] received a reply:\r\n\tReply opcode = WOK | Reply value = null\r\nC10[R] received a reply:\r\n\tReply opcode = ROK | Reply value = {time=12:31, status=EN ROUTE}\r\n\r\n```\r\n\r\n## Code Structure\r\n![code structure](https://i.postimg.cc/Twv0P3Gh/Untitled-Diagram.png)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsimpdim%2Freaderswriters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsimpdim%2Freaderswriters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsimpdim%2Freaderswriters/lists"}