Skip to content

jdecorte-be/LINFO1252-Computer-Systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINFO1252-Computer-Systems

Overview

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.

Directory Structure

  • 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.

Getting Started

To get started with the projects in this repository:

  1. Clone the repository:
    git clone https://github.com/jdecorte-be/LINFO1252-Computer-Systems.git
    cd LINFO1252-Computer-Systems
  2. Navigate to the desired directory:
    cd philo  # Replace 'philo' with the directory you're interested in
  3. Compile the code:
    make
  4. 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.