The OpenD Programming Language

SynchronizedCircularBuffer.isEmpty

Note the potential race condition between calling this and actually dequeuing something. You might want to acquire the lock on the object before calling this (nested synchronized things are allowed as long as the same thread is the one doing it).

struct SynchronizedCircularBuffer(T, size_t maxSize = 128)
bool
isEmpty
()

Meta