open_toontown_panda3d/dtool/src
rdb 8034cb5a92 dtoolbase: Introduce patomic<> as replacement for AtomicAdjust
This typedefs to std::atomic<> when building with true threading, and uses a dummy implementation without.

This lets us use the full range of atomic operations offered by C++11, including explicit specification of memory fences.  Using barriers lets the compiler generate more optimal code since currently we are using the quite strict sequential-consistent memory ordering for all operations.  ReferenceCount has been changed to use the correct barriers (I hope).  This may especially make a difference on weak ordering systems such as ARM.

Over time we should gradually replace the use of AtomicAdjust with the new patomic file.
2022-01-30 01:53:36 +01:00
..
cppparser cppparser: Parse parenthesised noexcept() and explicit() 2021-03-02 13:31:00 +01:00
dconfig CMake: Rely on GNUInstallDirs to specify install paths 2019-08-31 00:48:42 -06:00
dtoolbase dtoolbase: Introduce patomic<> as replacement for AtomicAdjust 2022-01-30 01:53:36 +01:00
dtoolutil dtoolutil: Fix _WIN32 macros that should be _MSC_VER 2021-11-16 16:35:13 +01:00
interrogate interrogate: Add __reduce_ex__ to methods that shouldn't be renamed 2021-12-14 11:31:37 +01:00
interrogatedb interrogatedb: always define PyObject_CallNoArgs as inline 2021-12-06 22:23:44 +01:00
parser-inc general: Remove vestigial typedef.h file 2021-12-12 18:37:49 +01:00
prc dtoolbase: Introduce patomic<> as replacement for AtomicAdjust 2022-01-30 01:53:36 +01:00
prckeys general: Add workaround for Windows bug in various uses of isprint() 2020-08-21 14:51:42 +02:00
test_interrogate general: removed all WIN32, WIN32_VC and friends 2020-02-05 22:45:03 -07:00