Skip to content

Exercise 3.9 of UNIX Systems Programming: Communication, Concurrency and Threads: Communication, Concurrency and Threads (2nd Edition)

License

Notifications You must be signed in to change notification settings

aroques/proc-fans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unix System Calls and Library Functions

Exercise 3.9: Process Fans (p. 88) in Robbins/Robbins text

To build this program run:

make

To run:

./runsim [n] < testing.data

To clean up run:

make clean

Description of problems encountered:

  • Had trouble with gargled print output and with extra lines being read from stdin. This was fixed after I had child processes start executing new processes.

  • Also learning new c functions was time consuming. I learned new c functions by reading the robbins textbook, man pages, and various other sources.

I learned a lot in this assignment.

Below is my git log (in oneline format):

  • 5885207 Add getopt()
  • 3842658 Edit runsim.c header comment
  • cab6a06 Clean up testsim.c
  • ad32ece Add get_argv(), develop testim.c, cleanup runsim.c
  • bf0e4ed Add exec to runsim
  • 2b02568 Add runsim.c, testing.data, testsim.c, Edit makefile
  • 320f898 Add r_wait function
  • 256c1b1 Initial commit

About

Exercise 3.9 of UNIX Systems Programming: Communication, Concurrency and Threads: Communication, Concurrency and Threads (2nd Edition)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published