virtualx-engine/modules/gdnative/nativescript
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
..
api_generator.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
api_generator.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
godot_nativescript.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
nativescript.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
nativescript.h Modernize Mutex 2021-02-18 11:58:08 +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
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00