/ src / util / batchpriority.h
batchpriority.h
 1  // Copyright (c) 2023-present The Bitcoin Core developers
 2  // Distributed under the MIT software license, see the accompanying
 3  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4  
 5  #ifndef BITCOIN_UTIL_BATCHPRIORITY_H
 6  #define BITCOIN_UTIL_BATCHPRIORITY_H
 7  
 8  /**
 9   * On platforms that support it, tell the kernel the calling thread is
10   * CPU-intensive and non-interactive. See SCHED_BATCH in sched(7) for details.
11   *
12   */
13  void ScheduleBatchPriority();
14  
15  #endif // BITCOIN_UTIL_BATCHPRIORITY_H