godot/platform
Pedro J. Estébanez 6d89f675b1 Modernize Thread
- Based on C++11's `thread` and `thread_local`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed (except for the few cases of non-portable functions)
- Simpler for `NO_THREADS`
- Thread ids are now the same across platforms (main is 1; others follow)
2021-02-18 11:58:08 +01:00
..
android Modernize Thread 2021-02-18 11:58:08 +01:00
iphone Modernize Thread 2021-02-18 11:58:08 +01:00
javascript Modernize Thread 2021-02-18 11:58:08 +01:00
osx Modernize Semaphore 2021-02-18 11:58:08 +01:00
server Modernize Semaphore 2021-02-18 11:58:08 +01:00
uwp Modernize Thread 2021-02-18 11:58:08 +01:00
windows Modernize Thread 2021-02-18 11:58:08 +01:00
x11 Modernize Thread 2021-02-18 11:58:08 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
register_platform_apis.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00