Currently, there are issues with headers in batchpriority.cpp:
SCHED_BATCHis not defined on all supported *BSD platforms.pthread.his necessary on other platforms.
This PR addresses both issues and fixes other includes.
Currently, there are issues with headers in batchpriority.cpp:
SCHED_BATCH is not defined on all supported *BSD platforms.pthread.h is necessary on other platforms.This PR addresses both issues and fixes other includes.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste <code><!--meta-tag:bot-skip--></code> into the comment that the bot should ignore.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
Currently, there are issues with headers in `batchpriority.cpp`:
1. `SCHED_BATCH` is not defined on all supported *BSD platforms.
2. `pthread.h` is necessary on other platforms.
This addresses both issues and fixes other includes.
review ACK 07af50f7896a36a82efc19b5030779ab36302fa4 🤺
<details><summary>Show signature</summary>
Signature:
untrusted comment: signature from minisign secret key on empty file; verify via: minisign -Vm "${path_to_any_empty_file}" -P RWTRmVTMeKV5noAMqVlsMugDDCyyTSbA3Re5AkUrhvLVln0tSaFWglOw -x "${path_to_this_whole_four_line_signature_blob}"
RUTRmVTMeKV5npGrKx1nqXCw5zeVHdtdYURB/KlyA/LMFgpNCs+SkW9a8N95d+U4AP1RJMi+krxU1A3Yux4bpwZNLvVBKy0wLgM=
trusted comment: review ACK 07af50f7896a36a82efc19b5030779ab36302fa4 🤺
98u7xGhD5rnmHXf/tnW5p+34Oo8v6WwqQLhBEkSAaludfiQKEBzWX6qDBZ2xUjhYBDUYDzMSZRbSiuL66XeUAw==
</details>