Skip to content

Instantly share code, notes, and snippets.

View jonas-s-s-s's full-sized avatar
🕳️

Jonas jonas-s-s-s

🕳️
View GitHub Profile
@jonas-s-s-s
jonas-s-s-s / EventfdQueue.h
Created September 22, 2024 01:33
Thread safe queue using eventfd
//
// Created by J. on 12.11.2023.
//
#pragma once
#include <mutex>
#include <queue>
#include <sys/eventfd.h>