Skip to content

Conversation

@JadeCara
Copy link
Owner

This pull request includes significant updates to the module2/dining_philosophers project, adding a new package configuration, a comprehensive Makefile, and the main implementation of the dining philosophers problem in Rust. The most important changes include the addition of the Cargo.toml file, the creation of a Makefile with various targets, and the implementation of the main logic for the dining philosophers problem.

Package Configuration:

Build and Maintenance:

  • module2/dining_philosophers/Makefile: Created a Makefile with targets for help, clean, build, run, test, lint, format, release, all, and bump to streamline project maintenance and build processes.

Main Implementation:

  • module2/dining_philosophers/src/main.rs: Implemented the main logic for the dining philosophers problem, including the creation of Philosopher and Fork structs, and the simulation of philosophers eating with proper synchronization using Mutex and Arc.

@JadeCara JadeCara merged commit 1465985 into main Dec 16, 2024
8 checks passed
@JadeCara JadeCara deleted the jade/threading_philosophers branch December 16, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants