Adds patomic_signed_lock_free, patomic_unsigned_lock_free, and patomic_flag with wait/notify methods modelled after C++20. Implemented using futexes, falling back to a mutex+condition variable hash table if not supported. (Currently the hash table has a fixed size of 64, which we could increase if necessary, but we really shouldn't even have a fraction of that number of simultaneously sleeping threads...) Other atomic types are unaffected at the moment, in part because futexes are really restricted to 32-bit ints on Linux anyway |
||
|---|---|---|
| .. | ||
| metalibs | ||
| src | ||
| CMakeLists.txt | ||
| CompilerFlags.cmake | ||
| Config.cmake | ||
| LocalSetup.cmake | ||
| Package.cmake | ||
| PandaVersion.cmake | ||
| dtool_config.h.in | ||