Skip to content

dpulsifer/PID-Manager-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PID-Manager-API

A process_id manager API tested using multithreaded programming. API includes the following methods:

  • int allocate_map(void) – Creates and initializes a data structure for representing pids; returns -1 if unsuccessful, 1 if successful
  • int allocate_pid(void) – Allocates and returns a pid; returns -1 if unable to allocate a pid (all pids are in use)
  • void release_pid(int pid) – Releases a pid

To Run

  • Navigate to PID-Manager-API directory.
  • From the command line, run make or make all.
  • From the command line, run ./testpid
  • Results will print to console.

About

CSCI 3120 Operating Systems - Assignment 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors