sqldata_w/mainwindow.cpp
// Callback (already called from a critical section)
Callback (already called from a critical section)
Callback ( already called from a critical section )
void MainWindow::Callback(SqlDataReply *reply)
{
    _log_update_mutex.lock();
    int initial_size = (int)_replies.size();
    _replies.push_back(*reply);
    if(initial_size == 0)
    {
        emit UpdateLogSignal();
    }
    _log_update_mutex.unlock();
}
void MainWindow :: Callback ( SqlDataReply * reply ) { _log_update_mutex . lock ( ) ; int initial_size = ( int ) _replies . size ( ) ; _replies . push_back ( * reply ) ; if ( initial_size == 0 ) { emit UpdateLogSignal ( ) ; } _log_update_mutex . unlock ( ) ; }
Callback (already called from a critical section)
Callback ( already called from a critical section )