package schedcore

import "github.com/containerd/containerd/pkg/schedcore"

Index

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
)

Source Files

prctl_linux.go

Version
v1.6.1
Published
Mar 2, 2022
Platform
linux/amd64
Imports
1 packages
Last checked
1 second ago

Tools for package owners.