示例#1
0
void SqlResultQueue::Update()
{
    /// execute the callbacks waiting in the synchronization queue
    Trinity::IQueryCallback* callback;
    while (next(callback))
    {
        callback->Execute();
        delete callback;
    }
}
示例#2
0
void SqlResultQueue::Update()
{
    /// execute the callbacks waiting in the synchronization queue
    while(!empty())
    {
        Trinity::IQueryCallback * callback = next();
        callback->Execute();
        delete callback;
    }
}