godot/platform
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
..
android Modernize Mutex 2021-02-18 11:58:08 +01:00
iphone Modernize Mutex 2021-02-18 11:58:08 +01:00
javascript Modernize Mutex 2021-02-18 11:58:08 +01:00
osx Modernize RWLock 2021-02-18 11:41:07 +01:00
server SCons: Fix debug_symbols tests after switch to BoolVariable 2021-02-08 22:36:32 +01:00
uwp Modernize Mutex 2021-02-18 11:58:08 +01:00
windows Modernize Mutex 2021-02-18 11:58:08 +01:00
x11 Modernize Mutex 2021-02-18 11:58:08 +01:00
register_platform_apis.h
SCsub