新 QNX 的默认调度策略和优先级 process/thread

Default scheduling policy and priority of new QNX process/thread

QNX 文档说新线程从其启动的父线程继承调度策略和优先级。

如果我从 shell 或初始化脚本启动一个新进程会怎样?新process/thread的调度策略和优先级从何而来?

新进程的优先级将被设置为10。 QNX 在以下 link:

中对此进行了描述

Under QNX Neutrino, processes will run at priority 10 by default. So when you open a terminal and run a program, unless it takes steps to modify it's priority, it will be running at priority 10.

调度策略将设置为Adaptive scheduling,直到您更改它。我在两个不同的链接 (QNX doc and Tempus documentation) 中找到了此信息。特别是 QNX 文档报告:

Adaptive scheduling is the default scheduling method for programs created by the Shell.