From: Toni Wilen Date: Sat, 23 Aug 2025 14:54:44 +0000 (+0300) Subject: Include message id in log X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=16519758efafa83247e7a6a5b24504ba0db0b669;p=francis%2Fwinuae.git Include message id in log --- 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];