38#ifndef _DEFAULT_SOURCE
39#define _DEFAULT_SOURCE
50 for (
unsigned i = 0; i <
count_; ++i)
58 "shutdown async notifiable block: waiting for returns");
BarrierNotifiable * initialize(QMember *entry)
Turns an allocated entry from the QAsync into a usable BarrierNotifiable.
~AsyncNotifiableBlock()
Destructor.
unsigned count_
How many barriers do we have.
Result next()
Get an item from the front of the queue.
Essentially a "next" pointer container.
#define LOG(level, message...)
Conditionally write a message to the logging output.
static const int VERBOSE
Loglevel that is usually not printed, reporting debugging information.
#define HASSERT(x)
Checks that the value of expression x is true, else terminates the current process.
static void microsleep(uint32_t microseconds)
Sleep a given number of microseconds.
QMember * item
item pulled from queue