6 Commits

Author SHA1 Message Date
9bd2007023 Add BH_ThreadSleep, fix Timespec.h 2025-09-21 21:20:31 +03:00
703fb0f240 Rename MT functions, add tests, fix bugs
Renamed multithreaded related functions, added simple unit tests and fix
bugs caught by said tests :)
2025-06-24 16:48:21 +03:00
6ff6896969 Remove extra newlines 2025-06-21 22:22:04 +03:00
fc774fd0ff Refactor, separate docs from headers, add ru docs
Doxygen kind'a sucks and I need multilanguage documentation, so I did
that. Also, separated massive Math.h file into smaller files.
2025-06-21 20:12:15 +03:00
69515af77f Fix styling issues, rename scripts 2025-04-05 13:56:00 +03:00
d403d41f2c Add initial implementation of threads/mutexes/semaphores/cvs/spinlocks
Added initial implementation (or wrapper) of the threading library.
It's rather basic, but should work for most of the tasks.

Unfortunately, spinlock implementation relies on GCC/Clang compiler
built-ins (or in-worst-case-scenario on Win32 - InterlockExchange).
In the future, I should revisit this code and fix/reimplement some stuff
(or add support for Windows XP).
2025-03-02 23:18:23 +03:00