{"id":16685317,"url":"https://github.com/wadaboa/operating-systems-project","last_synced_at":"2025-10-07T00:09:00.422Z","repository":{"id":87170663,"uuid":"299276961","full_name":"Wadaboa/operating-systems-project","owner":"Wadaboa","description":"Trains scheduling project, for Operating Systems class at UNIFI","archived":false,"fork":false,"pushed_at":"2020-09-28T15:12:10.000Z","size":692,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T02:24:05.271Z","etag":null,"topics":["c","operating-systems","sistemi-operativi","so","threading","train-scheduler","unifi"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wadaboa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-09-28T10:47:15.000Z","updated_at":"2023-11-09T15:17:38.000Z","dependencies_parsed_at":"2023-03-13T19:44:50.853Z","dependency_job_id":null,"html_url":"https://github.com/Wadaboa/operating-systems-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wadaboa/operating-systems-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Foperating-systems-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Foperating-systems-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Foperating-systems-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Foperating-systems-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wadaboa","download_url":"https://codeload.github.com/Wadaboa/operating-systems-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wadaboa%2Foperating-systems-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278699043,"owners_count":26030442,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","operating-systems","sistemi-operativi","so","threading","train-scheduler","unifi"],"created_at":"2024-10-12T14:46:58.149Z","updated_at":"2025-10-07T00:09:00.389Z","avatar_url":"https://github.com/Wadaboa.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Operating Systems project\n\nThis repository contains the implementation of a train scheduling solution, for the lab project of Operating Systems class at UNIFI.\n\n## Description\n\nThe goal of the project is to simulate the behavior of 5 trains, that have to cross different railway segments. \nThe goal of each train is to reach a pre-defined station, while their main constraint is that each railway segment can be occupied by at most one train at a time.\n\nDuring its travel, a train is granted access to the next railway segment. The project deals with the implementation of two different ways to ask and grant access to railway segments, by using the C language and its built-in threading system.\n\n## Usage\n\nIn order to run the project, you need to clone this repository and compile the `main.c` file, using a C language compiler like [GCC](https://gcc.gnu.org/).\nCompiling the project is as simple as running:\n\n```bash\ngcc -o main main.c\n```\n\nThen, you can simply execute the resulting file like the following:\n\n```bash\n./main \u003carg\u003e\n```\n\nHere, `\u003carg\u003e` could be:\n\n* ETCS1\n* ETCS2 \n* ETCS2 RBC\n\nTo see more details about each and every running mode, please have a look at the [assignment](assignment.pdf) and the related [report](report.pdf), but beware that they have been written in the Italian language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwadaboa%2Foperating-systems-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwadaboa%2Foperating-systems-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwadaboa%2Foperating-systems-project/lists"}