ITCH 5.0 Market Data Handler 1.0.0
NASDAQ ITCH 5.0 Market Data Feed Handler
Loading...
Searching...
No Matches
Event.h File Reference

Thread synchronization event primitives. More...

Detailed Description

Thread synchronization event primitives.

This file provides synchronization event objects for thread coordination. Events allow threads to wait for signals from other threads, similar to Win32 Event objects or POSIX condition variables.

Two event types are provided:

  • AutoEvent: Automatically resets after waking one waiting thread
  • ManualEvent: Remains signaled until explicitly reset, waking all waiters
Note
Thread-safe: All operations are protected by internal mutex
#include <chrono>
#include <condition_variable>

Classes

struct  b2bits::Event< Auto >
 Generic synchronization event. More...

Namespaces

namespace  b2bits

Typedefs

using b2bits::AutoEvent = Event<true>
 Auto-reset event type alias.
using b2bits::ManualEvent = Event<false>
 Manual-reset event type alias.