This repository has been archived on 2026-04-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Mikhail Romanko 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
2025-01-18 17:24:36 +03:00
2025-01-18 18:48:40 +03:00

BHLib

Library with a bunch of stuff

About

Here is a short list of implemented features:

  • Abstraction over input/output
  • Basic data structures and algorithms (hashmap, queue, heaps, partitions)
  • Geomtric primitives (vectors, matrices, quaternions, rays, boxes)

For more information about currently implemented and planned features checkout this page

Docs

The documentation for the functions is provided in the form of Doxygen comments.

The HowTo guides are also available.

License

BHLib is licensed under 0BSD License. This means that you can:

  • Use this library in personal or commercial projects
  • Freely redistribute library in either source or binary forms without copyright notice
  • Modify and relicense your version/fork of the library
Description
No description provided
Readme 621 KiB
Languages
C 97.6%
CMake 1.9%
Shell 0.5%