SvdFeature_Source_Code/apex-utils/apex_buffer_loader.h
/*!\brief place the iterator before first value */
\brief place the iterator before first value
\ brief place the iterator before first value
inline void before_first( void ){
            loading_end.wait();
            current_buf = 1;
            factory.before_first();
            endA = endB = buf_size;
            loading_need.post();
            loading_end.wait();
            current_buf = 0; 
            data_loaded = false;
            loading_need.post();
            buf_index = 0;
        }
inline void before_first ( void ) { loading_end . wait ( ) ; current_buf = 1 ; factory . before_first ( ) ; endA = endB = buf_size ; loading_need . post ( ) ; loading_end . wait ( ) ; current_buf = 0 ; data_loaded = false ; loading_need . post ( ) ; buf_index = 0 ; }
\brief place the iterator before first value
\ brief place the iterator before first value
// wait till last loader end // critcal zone // reset terminate limit // wake up loader for first part // wait til first part is loaded // set current buf to right value // wake loader for next part // set buffer value