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 48ddd91dd4 Fix MacOS and POSIX semaphores related issues
Recently got a MacBook Pro and decided to check how things build on
MacOS. Discovered that POSIX unnamed semaphores weren't implemented, so
I reimplemented them with conditional variable and mutex.

Additionally, fixed scripts and CMake on MacOS
2025-04-25 22:38:33 +03:00
2025-04-05 13:56:00 +03:00
2025-04-06 14:17:12 +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)
  • Thread support functions and structures (thread, mutex, cv, atomics, etc.)
  • Unicode support functions (BMP, UTF-8, UTF-16, UTF-32)
  • String conversion from/to numbers

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%