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
-
Notifications
You must be signed in to change notification settings - Fork 0
zhumakhan/producer-consumer-server
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
POSIX thread producer and consumer server, run make && ./pserver
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published