blob: bfba646b090d4ac12bfd59ab110aaf6e6ccce7c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
kit
A collection of cross-platform utility libraries.
Features
- Testing
- Unit-tests
- Microbenchmarks
- Algorithms and data types
- Lower bound
- Move back
- Dynamic array
- Big integer math
- SHA-256
- System
- Atomics
- Condition variables
- Mutual exclusion
- Threads
- Sockets wrapper
- Misc
- Input buffer
- Random number generation
- Async functions (coroutines)
Preprocessor options
- KIT_DISABLE_SHORT_NAMES - Disable short names for functions and types.
- KIT_DISABLE_SYSTEM_MALLOC - Disable system memory allocation functions.
- KIT_DISABLE_SYSTEM_THREADS - Disable system multithreading functions.
- KIT_DISABLE_SYSTEM_SOCKETS - Disable system socket library.
Condition variables, mutual exclusion and threads implementation was forked from Mesa source code.
* https://gitlab.freedesktop.org/mesa/mesa
Folder "/include" contains header-only version of this library.
Use "#define KIT_IMPLEMENTATION" to enable implementation code.
|