open_toontown_panda3d/panda
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
..
metalibs Support building pandagles2 on Android 2021-12-06 22:26:56 +01:00
src dtoolbase: Introduce patomic<> as replacement for AtomicAdjust 2022-01-30 01:53:36 +01:00
CMakeLists.txt CMake: generate panda3d.dist-info directory 2020-04-30 21:37:35 +02:00