📄 threads.mach
字号:
This readme refers to the file thr-mach.c.Under mach, thread priorities are kinda strange-- any given thread hasa MAXIMUM priority and a BASE priority. The BASE priority is thecurrent priority of the thread and the MAXIMUM is the maximum possiblepriority the thread can assume. The developer can lower, but neverraise the maximum priority.The gcc concept of thread priorities is that they run at one of threelevels; interactive, background, and low.Under mach, this is translated to:interactive -- set priority to maximumbackground -- set priority to 2/3 of maximumlow -- set priority to 1/3 of maximumThis means that it is possible for a thread with the priority ofinteractive to actually run at a lower priority than another threadwith a background, or even low, priority if the developer has modifiedthe maximum priority.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -