This repository contains materials and assignments for the LINFO1252 Computer Systems course. The content is organized into several directories, each focusing on a specific topic within computer systems.
- philo/: Contains code and resources related to the "philosophers" problem, a classic synchronization challenge in computer science.
- prodcons/: Includes implementations and materials for the producer-consumer problem, which deals with synchronization between processes.
- script/: Houses various scripts used throughout the course assignments.
- spinlock/: Contains code pertaining to spinlock mechanisms, a type of lock used in multithreading to prevent race conditions.
- writeread/: Focuses on the reader-writer problem, another synchronization issue that deals with access to shared resources.
To get started with the projects in this repository:
- Clone the repository:
git clone https://github.com/jdecorte-be/LINFO1252-Computer-Systems.git cd LINFO1252-Computer-Systems
- Navigate to the desired directory:
cd philo # Replace 'philo' with the directory you're interested in
- Compile the code:
make
- Run the program:
./program_name # Replace 'program_name' with the actual executable name
Ensure you have the necessary compilers and tools installed on your system to build and run the projects.