https://github.com/mosheberman/forkwait
An assignment demonstrating how forks work.
https://github.com/mosheberman/forkwait
Last synced: 4 months ago
JSON representation
An assignment demonstrating how forks work.
- Host: GitHub
- URL: https://github.com/mosheberman/forkwait
- Owner: MosheBerman
- Created: 2013-05-24T23:48:14.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-24T23:53:31.000Z (about 12 years ago)
- Last Synced: 2025-01-20T10:47:54.651Z (5 months ago)
- Language: C
- Size: 402 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
forkwait
========An assignment demonstrating how forks work. It was assigned in my Workstation Programming course at Brooklyn College, CISC 3350.
The basic premise is that you have to spawn a random number of forks, make them sleep, and then "catch" them in the parent process.
I've had trouble running this when compiling this in Xcode, but using gcc from Terminal produces a program that operates correctly.
Here's a screenshot:
