Luanti 5.16.0-dev
Loading...
Searching...
No Matches
semaphore.cpp File Reference
#include "threading/semaphore.h"
#include <iostream>
#include <cstdlib>
#include <cassert>
#include <cerrno>
#include <sys/time.h>
#include <pthread.h>
Include dependency graph for semaphore.cpp:

Macros

#define UNUSED(expr)

Macro Definition Documentation

◆ UNUSED

#define UNUSED ( expr)
Value:
do { (void)(expr); } while (0)

Referenced by Semaphore::Semaphore(), Semaphore::~Semaphore(), Semaphore::post(), and Semaphore::wait().