Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
Bse::TickStamp::Wakeup Class Reference
Inheritance diagram for Bse::TickStamp::Wakeup:
Collaboration diagram for Bse::TickStamp::Wakeup:

Public Member Functions

void awake_after (uint64 stamp)
void awake_before (uint64 stamp)
- Public Member Functions inherited from std::enable_shared_from_this< Wakeup >
enable_shared_from_this (T...args)
operator= (T...args)
shared_from_this (T...args)
~enable_shared_from_this (T...args)

Protected Member Functions

 Wakeup (const std::function< void()> &wakeup)

Static Protected Member Functions

static void _emit_wakeups (uint64 wakeup_stamp)

Member Function Documentation

void Bse::TickStamp::Wakeup::awake_after ( uint64  stamp)
stampstamp to trigger wakeup

Wake the current thread up at a future tick increment which exceeds stamp.

Here is the call graph for this function:

void Bse::TickStamp::Wakeup::awake_before ( uint64  stamp)
stamptick stamp update to trigger wakeup

Wakeup the currently running thread upon the last global tick stamp update (see Bse::TickStamp::current()) that happens prior to updating the global tick stamp to tick_stamp. (If the moment of wakeup has already passed by, the thread is woken up at the next global tick stamp update.)

Here is the call graph for this function:

The documentation for this class was generated from the following files: