Process ID Manager
This repo includes two projects. pidmanager.c is an implementation of a process id manager similar to one found in an operating system. It allocates and releases pids. threadpids.c uses threads to request a pid, sleep for a random period of time, then return the pid to the pidmanager.
The two pid projects were created to solve programming projects in the Operating Systems Concepts book.
Go to http://www.josephcmontgomery.com/projects.html#pidmanager for more info about the development process.
After cloning the repo, make -f makepids
should create the executable and ./pids
should run it.
And make -f makepids clean
should clean up the executable.
make -f makethreadpids
then ./threadpids
should run threadpids. make -f makethreadpids clean
should clean it.