W3cubDocs

/PHP

The Pcntl\QosClass Enum

Introduction

(No version information available, might only be in Git)

The Pcntl\QosClass enum is used to specify the user process priority with pcntl_setqos_class().

Enum synopsis

enum Pcntl\QosClass
{
case Background ; // Runs the process after all high-priority ones had ran their courses.

case Default ; // Runs the process after all high-priority processes but before the low-priority ones.

case UserInteractive ; // Runs the process as the highest priority level.

case UserInitiated ; // Runs the process at high priority level but below UserInteractive ones.

}

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/enum.pcntl-qosclass.php