Skip to content

Codehardt/go-priority

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-priority

Manipule the priority of the GO program

Example

import (
    priority "github.com/Codehardt/go-priority"
)

func main() {
    if err := priority.SetPriority(priority.PriorityLow); err != nil {
        ...
    }
    ...
}

Priorities

Priority Unix Windows
PriorityVeryLow 19 IDLE_PRIORITY_CLASS
 PriorityLow 10 BELOW_NORMAL_PRIORITY_CLASS
PriorityMedium 0 NORMAL_PRIORITY_CLASS
 PriorityHigh -10 ABOVE_NORMAL_PRIORITY_CLASS
PriorityVeryHigh -20 HIGH_PRIORITY_CLASS

About

Manipulate the priority of the GO program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages