godot/platform/x11
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
..
export Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
context_gl_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
context_gl_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
crash_handler_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
crash_handler_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
detect.py Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-18 10:31:31 +01:00
detect_prime.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
detect_prime.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
godot_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
joypad_linux.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
joypad_linux.h Modernize Mutex 2021-02-18 11:58:08 +01:00
key_mapping_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
key_mapping_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
libudev-so_wrap.c Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-18 10:31:31 +01:00
libudev-so_wrap.h Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-18 10:31:31 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
os_x11.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
os_x11.h Modernize Mutex 2021-02-18 11:58:08 +01:00
pck_embed.ld Fix error exporting to X11 with embedded PCK 2020-01-16 17:47:37 +01:00
pck_embed.legacy.ld Fix error exporting to X11 with embedded PCK 2020-01-16 17:47:37 +01:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
platform_x11_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
power_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
power_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-18 10:31:31 +01:00