[common] use libc++ provided jthread instead of in-house one (which deadlocks on FBSD 14)
Some checks failed
eden-license / license-header (pull_request) Failing after 22s

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-08-29 07:16:38 +00:00
parent f07309afd2
commit 3416def3be
Signed by: Lizzie
GPG key ID: 00287378CADCAB13
15 changed files with 21 additions and 365 deletions

View file

@ -47,8 +47,8 @@ public:
if (requests.empty()) {
wait_condition.notify_all();
}
Common::CondvarWait(condition, lock, stop_token,
[this] { return !requests.empty(); });
condition.wait(lock, stop_token,
[this] { return !requests.empty(); });
if (stop_token.stop_requested()) {
break;
}