VirtualBox

Changeset 32499 in vbox


Ignore:
Timestamp:
Sep 15, 2010 8:30:57 AM (14 years ago)
Author:
vboxsync
Message:

crOpenGL: fix race crashes with new tracking code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_net.c

    r20084 r32499  
    120120    CRPackBuffer *buf;
    121121
     122    crLockMutex(&_PackMutex);
     123
    122124    /* we should _always_ pass a valid <arg> value */
    123125    CRASSERT(thread);
     
    143145           crPackSetBuffer( thread->packer, buf );
    144146           crPackResetPointers(thread->packer);
     147           crUnlockMutex(&_PackMutex);
    145148           return;
    146149    }
     
    169172
    170173    crPackResetPointers(thread->packer);
    171     (void) arg;
     174
     175    crUnlockMutex(&_PackMutex);
    172176}
    173177
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette