An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# LO41 - C - Airport control tower simulation

GitHub repo size GitHub repo size GitHub repo size

_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