From: Stefan Reinauer Date: Wed, 17 Jun 2026 15:47:14 +0000 (-0700) Subject: od-unix: enable threaded CPU support X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=b414df1fe5f27e28a58da58101ab3f8e2df607df;p=francis%2Fwinuae.git od-unix: enable threaded CPU support Match the Windows target by enabling the shared threaded CPU path on Unix. The port already provides pthread-backed uae_thread_id and semaphore helpers, but sysconfig.h did not expose WITH_THREADED_CPU. That left upstream code that clears cpu_thread_tid after m68k_run() unbuildable on Ubuntu. Enable the feature in the Unix sysconfig instead of hiding the shared code behind extra guards. --- diff --git a/od-unix/sysconfig.h b/od-unix/sysconfig.h index ce32c241..b3ab14fc 100644 --- a/od-unix/sysconfig.h +++ b/od-unix/sysconfig.h @@ -22,6 +22,7 @@ #endif #define SUPPORT_THREADS 1 +#define WITH_THREADED_CPU 1 #define MAX_DPATH 1000 #define MAX_AMIGAMONITORS 4 #define MAX_AMIGADISPLAYS 4