[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
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:
parent
f07309afd2
commit
3416def3be
15 changed files with 21 additions and 365 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue