Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.59 KB

README-en.md

File metadata and controls

33 lines (25 loc) · 1.59 KB

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, you can easily get started. Else you could use the Makefile and the cbp file generated automatically by the project. Or simply, you could just type this in a tmerinal :

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