aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/cdma_pusher.cpp
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2025-10-01 06:59:35 +0200
committercrueter <crueter@eden-emu.dev>2025-10-01 06:59:35 +0200
commitdfe10bc85196d1e7812b6cb775767cf1e072c20f (patch)
tree0c86acd8cc200efe54470a65d3050326684a90bb /src/video_core/cdma_pusher.cpp
parent9a098441def2cfc4281ab1af6b2e8b34200800c0 (diff)
[common] use libc++ provided jthread instead of in-house one (which deadlocks on FBSD 14) (#351)
Needs test on our CI targets to see I didn't miss anything. Worried about android. Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/351 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/video_core/cdma_pusher.cpp')
-rw-r--r--src/video_core/cdma_pusher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/cdma_pusher.cpp b/src/video_core/cdma_pusher.cpp
index 1b6b4c6d45..b9140d9335 100644
--- a/src/video_core/cdma_pusher.cpp
+++ b/src/video_core/cdma_pusher.cpp
@@ -39,8 +39,8 @@ void CDmaPusher::ProcessEntries(std::stop_token stop_token) {
while (!stop_token.stop_requested()) {
{
std::unique_lock l{command_mutex};
- Common::CondvarWait(command_cv, l, stop_token,
- [this]() { return command_lists.size() > 0; });
+ command_cv.wait(l, stop_token,
+ [this]() { return command_lists.size() > 0; });
if (stop_token.stop_requested()) {
return;
}