rtkit

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package rtkit asks RealtimeKit on the system bus to raise a thread's scheduling priority, for a process that has neither the limit nor the capability to raise it itself.

Index

Constants

View Source
const (
	Service = "org.freedesktop.RealtimeKit1"
	Path    = dbus.ObjectPath("/org/freedesktop/RealtimeKit1")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Kit

type Kit struct {
	// contains filtered or unexported fields
}

func Open

func Open(address string) (*Kit, error)

func (*Kit) Close

func (k *Kit) Close() error

func (*Kit) HighPriority

func (k *Kit) HighPriority(tid int, nice int32) error

func (*Kit) Realtime

func (k *Kit) Realtime(tid int, priority uint32) error

Directories

Path Synopsis
Package rtkittest serves a fake RealtimeKit on a private bus, for tests of code that asks rtkit for a thread's priority.
Package rtkittest serves a fake RealtimeKit on a private bus, for tests of code that asks rtkit for a thread's priority.

Jump to

Keyboard shortcuts

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