mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
default to SIMPLE_THREADS
This commit is contained in:
parent
5e026c36a2
commit
397bcbdddf
@ -818,7 +818,7 @@
|
|||||||
// supports kernel threads running on different CPU's), but it will
|
// supports kernel threads running on different CPU's), but it will
|
||||||
// slightly slow down Panda for the single CPU case, so this is not
|
// slightly slow down Panda for the single CPU case, so this is not
|
||||||
// enabled by default.
|
// enabled by default.
|
||||||
#define HAVE_THREADS
|
#define HAVE_THREADS 1
|
||||||
#define THREADS_LIBS $[if $[not $[WINDOWS_PLATFORM]],pthread]
|
#define THREADS_LIBS $[if $[not $[WINDOWS_PLATFORM]],pthread]
|
||||||
|
|
||||||
// If you have enabled threading support with HAVE_THREADS, the
|
// If you have enabled threading support with HAVE_THREADS, the
|
||||||
@ -833,7 +833,7 @@
|
|||||||
// This will compile in a homespun cooperative threading
|
// This will compile in a homespun cooperative threading
|
||||||
// implementation that runs strictly on one CPU, adding very little
|
// implementation that runs strictly on one CPU, adding very little
|
||||||
// overhead over plain single-threaded code.
|
// overhead over plain single-threaded code.
|
||||||
#define SIMPLE_THREADS
|
#define SIMPLE_THREADS 1
|
||||||
|
|
||||||
// If this is defined true, then OS threading constructs will be used
|
// If this is defined true, then OS threading constructs will be used
|
||||||
// (if available) to perform context switches in the SIMPLE_THREADS
|
// (if available) to perform context switches in the SIMPLE_THREADS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user