Ejemplo n.º 1
0
void SqlResultQueue::Update()
{
    /// execute the callbacks waiting in the synchronization queue
    MaNGOS::IQueryCallback* callback = NULL;
    while (next(callback))
    {
        callback->Execute();
        delete callback;
    }
}
Ejemplo n.º 2
0
void SqlResultQueue::Update()
{
    /// execute the callbacks waiting in the synchronization queue
    while(!empty())
    {
        MaNGOS::IQueryCallback * callback = next();
        callback->Execute();
        delete callback;
    }
}