Skip to content

This is a multi-threaded, system-level, program that implements the publisher/subscriber model using C. A new child process is forked for each publisher and subsriber. Pipes are created for communication between the child processes and AroundThePond server.

Notifications You must be signed in to change notification settings

ldel10/AroundThePond

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My program can take in up to 15 publishers and 15 subscribers. Upon successful completion of the initial connection protocol, each publisher sends 1 entry to the pubServer to verify that enqueue works. Each subscriber reads 1 entry from the subServer to verify that the published entry was put in the topic store correctly and that the dequeue method does in fact work. There are plenty of print statement to help follow the sequence of events. 

My code compiles with a simple "make" command. "./atp_part3" will run my main program, which prompts the user for n,m, and t through standard input. 

About

This is a multi-threaded, system-level, program that implements the publisher/subscriber model using C. A new child process is forked for each publisher and subsriber. Pipes are created for communication between the child processes and AroundThePond server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published