-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42f8550
commit c4d8dff
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
# concurrent_programming_cpp | ||
Concurrent Multi-thread Programming Project in C++ | ||
# Concurrent Multi-thread Programming Project in C++ | ||
|
||
This project was concerned with simulating some aspects of a simple embedded computer system. | ||
|
||
The system designed is responsible for gathering environmental data via a single | ||
analogue-to-digital converter (ADC), and transmitting it to another computer system via one of | ||
three communications links. The software in the embedded system consists initially of six | ||
threads, each of which is responsible for gathering data on different input channels, temporarily | ||
storing it, and then transmitting it to the other computer system in blocks. In order to acquire | ||
data, each thread must gain sole access to the ADC, configure it to sample from a specific | ||
channel, and sample the channel. In order to transmit a block of data, a thread must gain access to | ||
one of the communications links. Having gained access, it sends its block of data, and then | ||
releases the link. Each thread may use any communications link, but once it has gained access to | ||
a particular link, no other thread should be allowed to use that link until it is released. | ||
|