]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
od-unix: enable threaded CPU support
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 17 Jun 2026 15:47:14 +0000 (08:47 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 17 Jun 2026 19:27:31 +0000 (12:27 -0700)
commitb414df1fe5f27e28a58da58101ab3f8e2df607df
tree7f17cd431f9b9df3bfc8b2efe352642e3d8a74a3
parent7763cc77a7fe11dd71983e072b295cad69884e0e
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.
od-unix/sysconfig.h