Skip to content

Instantly share code, notes, and snippets.

View BlobTheKat's full-sized avatar
🔥
PERFORMANCE

BlobTheKat BlobTheKat

🔥
PERFORMANCE
View GitHub Profile
@BlobTheKat
BlobTheKat / a.h
Last active November 13, 2026 20:49
a.h - C11 Atomics & threads complement library
/**
* Atomics & threads complement library
* Matthew Reiner, 2026
* Available under the MIT license
* Targeting: Windows, Linux, FreeBSD, NetBSD, OpenBSD, MacOS
* Implements the following:
* - Wait/Notify functionality for simple types up to 64 bit
* - Arbitrary condition wait
* - Fine-grained memory ordering
* - Thread management
@Eczbek
Eczbek / nowindows.h
Last active July 19, 2026 01:34
Macros to disable generally unwanted stuff from <windows.h> (from Veeloxfire)
#define NOATOM
#define NOCLIPBOARD
#define NOCOLOR
#define NOCOMM
#define NOCTLMGR
#define NODEFERWINDOWPOS
#define NODRAWTEXT
#define NOGDI
#define NOGDICAPMASKS
#define NOICONS