Skip to content
/ Lift Public

A simple concurrent program that imitate an elevator

Notifications You must be signed in to change notification settings

Jordan-B1/Lift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lift

A simple concurrent program that imitate an elevateor system.

Description

The program is composed of two elevators that communicate with each other to efficiently transport people from one floor to another. It is written in Rust and utilizes the concurrent functionalities of the language. The elevators can move up and down, stop at different floors, and pick up/drop off passengers. The program employs a simple algorithm to determine the next floor to visit. Each elevator is a thread and they both communicate with the mscp system to get the next floor to visit.

How to run

$ cargo run
$ cargo -- -h

About

A simple concurrent program that imitate an elevator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages