godot/modules/visual_script
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
..
doc_classes doc: Sync classref with StringName/Callable changes 2020-02-22 14:59:09 +01:00
icons Add support for creating editor icons per module 2019-06-28 23:42:26 +03:00
config.py doc: Sync classref with current source 2019-09-27 22:16:42 +02:00
register_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
visual_script.cpp Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
visual_script.h Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
visual_script_builtin_funcs.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
visual_script_builtin_funcs.h Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
visual_script_editor.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
visual_script_editor.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
visual_script_expression.cpp Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
visual_script_expression.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_script_flow_control.cpp Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
visual_script_flow_control.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_script_func_nodes.cpp Reworked signal connection system, added support for Callable and Signal objects and made them default. 2020-02-20 08:24:50 +01:00
visual_script_func_nodes.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_script_nodes.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
visual_script_nodes.h Fix ClassDB API portability with some android and editor classes 2020-01-19 20:15:13 +01:00
visual_script_property_selector.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
visual_script_property_selector.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_script_yield_nodes.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
visual_script_yield_nodes.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00