}
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();
{
if (MULTITHREADED_DENISE) {
- if (!waitqueue()) {
+ if (!waitqueue(2)) {
return;
}
{
if (MULTITHREADED_DENISE) {
- if (!waitqueue()) {
+ if (!waitqueue(1)) {
return;
}
{
if (MULTITHREADED_DENISE) {
- if (!waitqueue()) {
+ if (!waitqueue(3)) {
return;
}
{
if (MULTITHREADED_DENISE) {
- if (!waitqueue()) {
+ if (!waitqueue(0)) {
return;
}
{
if (MULTITHREADED_DENISE) {
- if (!waitqueue()) {
+ if (!waitqueue(7)) {
return;
}
struct denise_rga_queue *q = &rga_queue[rga_queue_write & DENISE_RGA_SLOT_CHUNKS_MASK];