Skip to content

POSIX thread producer and consumer server, run make && ./pserver

Notifications You must be signed in to change notification settings

zhumakhan/producer-consumer-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

producer-consumer-server

POSIX thread producer and consumer server
make && ./pcserver && ./producer localhost port N rate bad
where localhost for hostname, port for port number, N is number of producers, rate is random floating point number used to randomly
(Poisson distribution) sleep producer generation, bad is percentage[0-100] of producers used to sleep to imitate hanging process

About

POSIX thread producer and consumer server, run make && ./pserver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published