Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
batchpriority.cpp File Reference
#include <util/batchpriority.h>
#include <util/log.h>
#include <util/syserror.h>
#include <string>
#include <pthread.h>
#include <sched.h>
Include dependency graph for batchpriority.cpp:

Go to the source code of this file.

Functions

void ScheduleBatchPriority ()
 On platforms that support it, tell the kernel the calling thread is CPU-intensive and non-interactive.

Function Documentation

◆ ScheduleBatchPriority()

void ScheduleBatchPriority ( )

On platforms that support it, tell the kernel the calling thread is CPU-intensive and non-interactive.

See SCHED_BATCH in sched(7) for details.

Definition at line 17 of file batchpriority.cpp.

Here is the call graph for this function: