Categorygithub.com/kAvEh--/iptiq-taskmanager
repositorypackage
0.0.0-20210813065308-fe084dbb90be
Repository: https://github.com/kaveh--/iptiq-taskmanager.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

iptiq-taskmanager

Task Manager written in Go.

Task Manager will handle multiple processes inside an operating system.

Requirements

Go 1.8+: download and install Go here: https://golang.org/doc/install

Usage

For building the code use this script:

go build 

For running the code use this script:

go build & ./iptiq-taskmanager

For running tests use this script:

go test -v ./.. 

Implementation

List of functionality implemented in this repo:

-AddProcess: add a process to Task Manager`s list

-AddProcess with FIFO approach: add a process to Task Manager`s list with FIFO approach

-AddProcess Priority based approach: add a process to Task Manager`s list priority based

-ListProcesses: return list of all processes

-KillProcess: kill a process and remove from list

-KillProcess by Priority: kill all processes with specified priority

-KillAll Processes: kill all processes in Task Manager`s list