Skip to content

Repository for Aristotle Univerisity of Thessaloniki ECE Deparment, Real Time Embedded Systems 1st project

Notifications You must be signed in to change notification settings

angelos-sp/espx1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ESPX - Project #1

A producers-consumers algorithm using pthreads and a FIFO queue.

1. Execution

In order to test the implementation locally on your machine, use the files located in the home directory. Follow the commands in the order given below:

make all
./prod-cons <p> <q>

Replace the values p and q with the producer and consumer threads you want to use respectively. For example,

./prod-cons 2 3

will run the program with 2 producer threads and 3 consumer threads.

Refference: Andrae Muys, A solution to the producer consumer problem using pthreads, 18 September 1997

Repository for Aristotle Univerisity of Thessaloniki ECE Deparment, Real Time Embedded Systems 1st project

About

Repository for Aristotle Univerisity of Thessaloniki ECE Deparment, Real Time Embedded Systems 1st project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published