Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mosheberman/forkwait
An assignment demonstrating how forks work.
https://github.com/mosheberman/forkwait
Last synced: about 1 month 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-24T23:53:31.000Z (over 11 years ago)
- Last Synced: 2023-03-11T14:37:31.507Z (over 1 year ago)
- Language: C
- Size: 402 KB
- Stars: 0
- Watchers: 2
- 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:
![demo](screen.png)