MLIB
Loading...
Searching...
No Matches
syncque.h File Reference

Definition of sync_queue and async_queue classes. More...

#include <queue>
#include "semaphore.h"
#include "critsect.h"
#include "stopwatch.h"

Go to the source code of this file.

Data Structures

class  mlib::sync_queue< M >
 A template class that implements a "synchronous queue", in effect a mailbox that can store one "message", created by a producer thread, until consumed by a consumer thread. More...
 
class  mlib::async_queue< M, C >
 A template class that implements "asynchronous queues". More...
 

Detailed Description

Definition of sync_queue and async_queue classes.

(c) Mircea Neacsu 1999-2021. All rights reserved.