|
FireSync API
|
| kStatus kHxNode_HealthLogPriority | ( | kHxNode | node, |
| kThreadPriorityClass * | priorityClass, | ||
| k32s * | priorityOffset | ||
| ) |
Returns the recommended thread priority for health logging.
Ideally, health logging is performed at a lower than normal priority to prevent disruption of other activities. However, a mixture of low and high priority threads can result in priority inversion, which in turn can result in deadlock under high CPU load. Accordingly, care must be taken in the design of any system that makes use of thread priorities for CPU workload management. For systems that have been audited for adherence to the necessary rules, a lower than normal priority may be recommended; otherwise, normal priority will be recommended.