schedcore

package
v1.6.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(t PidType) error

Create a new sched core domain

func ShareFrom

func ShareFrom(pid uint64, t PidType) error

ShareFrom shares the sched core domain from the provided pid

Types

type PidType

type PidType int

PidType is the type of provided pid value and how it should be treated

const (
	// Pid affects the current pid
	Pid PidType = pidtypePid
	// ThreadGroup affects all threads in the group
	ThreadGroup PidType = pidtypeTgid
	// ProcessGroup affects all processes in the group
	ProcessGroup PidType = pidtypePgid
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL