https://github.com/therolffr/lo41_c_airport
Personal academic project : Airport control tower simulation in system c
https://github.com/therolffr/lo41_c_airport
airport c ipc lo41 mutex mutex-synchronisation shared-memory shm thread utbm
Last synced: 3 months ago
JSON representation
Personal academic project : Airport control tower simulation in system c
- Host: GitHub
- URL: https://github.com/therolffr/lo41_c_airport
- Owner: TheRolfFR
- License: other
- Created: 2020-05-15T11:42:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T05:43:02.000Z (about 5 years ago)
- Last Synced: 2025-01-28T12:43:47.401Z (5 months ago)
- Topics: airport, c, ipc, lo41, mutex, mutex-synchronisation, shared-memory, shm, thread, utbm
- Language: C
- Homepage:
- Size: 518 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-en.md
- License: LICENSE.md
Awesome Lists containing this project
README
# LO41 - C - Airport control tower simulation
_Personal academic project : C control tower simulation in system c_
## Objective
Understand Operating systems principles and management. Use C API to implement a real use case : a control tower of an
airport## How to build and launch the project
By using the [CLion JetBrains Editor](https://www.jetbrains.com/clion/), you can easily get started. Else you could use
the [Makefile](./cmake-build-debug/Makefile) and the [cbp file](./cmake-build-debug/lo41_projet.cbp) generated
automatically by the project. Or simply, you could just type this in a tmerinal :
```sh
gcc -Wall main.c -o lo41_projet && chmod +x lo41_projet && ./lo41_projet
```## Main parts of the code
Here data is separated in different categories/themes :
- display : everything displayed to the screen
- arguments : every argument passed to the threads
- plane : the plane data itself
- comptrolleur : the conptrolleur in charge of regulating traffic activity
- ipc : ipc messages sent between entities
- wating list : airplane waiting list for landing and take-off
- mutex : everything linked to critical and shared resources
- runway : handle the runway data
- tarmac : handle the parking area
- utilities : additional functions created to code faster