From 16519758efafa83247e7a6a5b24504ba0db0b669 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 23 Aug 2025 17:54:44 +0300 Subject: [PATCH] Include message id in log --- drawing.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drawing.cpp b/drawing.cpp index d7a3854e..f939ddba 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -7227,13 +7227,13 @@ static bool waitqueue_nolock(void) } return true; } -static bool waitqueue(void) +static bool waitqueue(int id) { if (quit_program) { return false; } if (!thread_debug_lock) { - write_log("Denise queue without lock!\n"); + write_log("Denise queue without lock! id=%d\n", id); return false; } waitqueue_nolock(); @@ -7250,7 +7250,7 @@ void draw_denise_border_line_fast_queue(int gfx_ypos, enum nln_how how, struct l { if (MULTITHREADED_DENISE) { - if (!waitqueue()) { + if (!waitqueue(2)) { return; } @@ -7276,7 +7276,7 @@ void draw_denise_bitplane_line_fast_queue(int gfx_ypos, enum nln_how how, struct { if (MULTITHREADED_DENISE) { - if (!waitqueue()) { + if (!waitqueue(1)) { return; } @@ -7302,7 +7302,7 @@ void quick_denise_rga_queue(uae_u32 linecnt, int startpos, int endpos) { if (MULTITHREADED_DENISE) { - if (!waitqueue()) { + if (!waitqueue(3)) { return; } @@ -7355,7 +7355,7 @@ void draw_denise_line_queue(int gfx_ypos, nln_how how, uae_u32 linecnt, int star { if (MULTITHREADED_DENISE) { - if (!waitqueue()) { + if (!waitqueue(0)) { return; } @@ -7447,7 +7447,7 @@ void denise_store_restore_registers_queue(bool store, uae_u32 linecnt) { if (MULTITHREADED_DENISE) { - if (!waitqueue()) { + if (!waitqueue(7)) { return; } struct denise_rga_queue *q = &rga_queue[rga_queue_write & DENISE_RGA_SLOT_CHUNKS_MASK]; -- 2.47.3