Skip to content

The aim of this project is to demonstrate the use of threads and some of the precautions to be taken with practical everyday examples.

Notifications You must be signed in to change notification settings

Bff2003/Cars-Road-Threads-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Cars-Road-Threads-Example

The aim of this project is to demonstrate the use of threads and some of the precautions to be taken with practical everyday examples.

The idea consists of multiple cars that leave from x point to arrive at y point, both have the same number of gasoline and are the same models of cars, however everyone goes at their own speed, but everyone in the middle of the race has to go to get gasoline, each person gets gasoline at a different speed, then the others will have to wait until they fill up their car tank.

About

The aim of this project is to demonstrate the use of threads and some of the precautions to be taken with practical everyday examples.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published