godot/modules/gdnative/pluginscript
Pedro J. Estébanez 4ddcdc031b Modernize Mutex
- Based on C++11's `mutex`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed
- Simpler for `NO_THREADS`
- `BinaryMutex` added for special cases as the non-recursive version
- `MutexLock` now takes a reference. At this point the cases of null `Mutex`es are rare. If you ever need that, just don't use `MutexLock`.
- `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same.
2021-02-18 11:58:08 +01:00
..
SCsub
pluginscript_instance.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pluginscript_instance.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pluginscript_language.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
pluginscript_language.h Modernize Mutex 2021-02-18 11:58:08 +01:00
pluginscript_loader.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pluginscript_loader.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pluginscript_script.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pluginscript_script.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00