godot/modules
Pedro J. Estébanez 18fbdbb456 Reimplement Mutex with C++'s <mutex>
Main:
- It's now implemented thanks to `<mutex>`. No more platform-specific implementations.
- `BinaryMutex` (non-recursive) is added, as an alternative for special cases.
- Doesn't need allocation/deallocation anymore. It can live in the stack and be part of other classes.
- Because of that, it's methods are now `const` and the inner mutex is `mutable` so it can be easily used in `const` contexts.
- A no-op implementation is provided if `NO_THREADS` is defined. No more need to add `#ifdef NO_THREADS` just for this.
- `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`.
- Thread-safe utilities are therefore simpler now.

Misc.:
- `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same.
- Every case of lock, do-something, unlock is replaced by `MutexLock` (complex cases where it's not straightfoward are kept as as explicit lock and unlock).
- `ShaderRD` contained an `std::mutex`, which has been replaced by `Mutex`.
2020-02-26 20:40:10 +01:00
..
arkit PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
assimp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
basis_universal Fix compilation warnings and re-enable werror=yes on Travis 2020-02-18 20:51:25 +01:00
bmp PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
bullet Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
camera PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
csg Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
cvtt PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
dds PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
enet Add documentation for new DTLS features. 2020-02-17 12:47:13 +01:00
etc PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
freetype Use modules_enabled.gen.h to improve inter dependency checks 2020-02-07 11:50:40 +01:00
gdnative Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
gdnavigation Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
gdscript Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
glslang Fix compilation warnings and re-enable werror=yes on Travis 2020-02-18 20:51:25 +01:00
gridmap Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
hdr PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
jpg PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
jsonrpc Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mbedtls Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
mobile_vr Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
mono Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
ogg Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
opensimplex Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
opus Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pvr PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
regex Update docs to version 4.0 2020-01-31 17:15:41 -08:00
squish PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
stb_vorbis Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
svg PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
tga PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
theora PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
tinyexr PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
upnp Update docs to version 4.0 2020-01-31 17:15:41 -08:00
vhacd Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_script Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
vorbis Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
webm PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
webp PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
webrtc Update docs to version 4.0 2020-01-31 17:15:41 -08:00
websocket doc: Sync classref with current source 2020-02-18 14:02:02 +01:00
xatlas_unwrap Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
modules_builders.py SCons: Generate header with info on which modules are enabled 2020-02-07 11:31:37 +01:00
register_module_types.h Moved the shader source compilation code outside RenderingDevice and Vulkan 2020-02-11 11:53:29 +01:00
SCsub SCons: Split libmodules.a in folder-based libs 2020-02-07 14:19:51 +01:00