示例#1
0
MythImage *MythPainter::GetFormatImage(void)
{
    QMutexLocker locker(&m_allocationLock);
    MythImage *result = GetFormatImagePriv();
    result->SetFileName("GetFormatImage");
    m_allocatedImages.insert(result);
    return result;
}
示例#2
0
MythImage *MythPainter::GetFormatImage()
{
    m_allocationLock.lock();
    MythImage *result = GetFormatImagePriv();
    m_allocatedImages.append(result);
    m_allocationLock.unlock();
    return result;
}