Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bseengineutils.cc File Reference
#include "bseengineutils.hh"
#include "bseblockutils.hh"
#include "gslcommon.hh"
#include "bseenginenode.hh"
#include "bseengineschedule.hh"
#include "bsemathsignal.hh"
#include <unordered_map>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
Include dependency graph for bseengineutils.cc:

Macros

#define LOG_INTERN
 

Typedefs

typedef std::unordered_map< float, const float * > FloatBlockMap
 

Functions

BseOStream * _engine_alloc_ostreams (guint n)
 
void bse_engine_free_ostreams (guint n_ostreams, BseOStream *ostreams)
 
guint64 _engine_enqueue_trans (BseTrans *trans)
 
void _engine_wait_on_trans (void)
 
gboolean _engine_job_pending (void)
 
void _engine_free_trans (BseTrans *trans)
 
BseJob * _engine_pop_job (gboolean update_commit_stamp)
 
void bse_engine_user_thread_collect (void)
 
gboolean bse_engine_has_garbage (void)
 
void _engine_set_schedule (EngineSchedule *sched)
 
void _engine_unset_schedule (EngineSchedule *sched)
 
EngineNode * _engine_pop_unprocessed_node (void)
 
void _engine_node_collect_jobs (EngineNode *node)
 
void _engine_push_processed_node (EngineNode *node)
 
SfiRing_engine_pop_unprocessed_cycle (void)
 
void _engine_push_processed_cycle (SfiRing *cycle)
 
void _engine_wait_on_unprocessed (void)
 
EngineNode * _engine_mnl_head (void)
 
void _engine_mnl_remove (EngineNode *node)
 
void _engine_mnl_integrate (EngineNode *node)
 
void _engine_mnl_node_changed (EngineNode *node)
 
floatbse_engine_const_values (float value)
 
floatbse_engine_const_zeros (uint smaller_than_BSE_STREAM_MAX_VALUES)
 
void _engine_recycle_const_values (bool remove_all)
 

Function Documentation

void bse_engine_user_thread_collect ( void  )

BSE Engine user thread function.

Collects processed jobs and transactions from the engine and frees them. This involves callback invocation of BseFreeFunc() functions, e.g. from bse_job_access() or bse_job_flow_access() jobs. This function may only be called from the user thread, as BseFreeFunc() functions are guranteed to be executed in the user thread.

Referenced by bse_engine_configure(), bse_engine_dispatch(), bse_engine_wait_on_trans(), and bse_server_script_error().

Here is the call graph for this function:

Here is the caller graph for this function: