diff options
author | Chris Robinson <[email protected]> | 2016-05-10 22:49:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-05-10 22:49:24 -0700 |
commit | 906a4bb22d6811615ccff417b6086fa36f310c00 (patch) | |
tree | 3c4a345d7f5a49e06062874566b4635c0f7567a1 /include | |
parent | c026f44a092a566a18fef78d2517fead84ed2db8 (diff) |
Hold the source map lock while handling it
Diffstat (limited to 'include')
-rw-r--r-- | include/uintmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uintmap.h b/include/uintmap.h index 2c4c5e7a..c41c20ad 100644 --- a/include/uintmap.h +++ b/include/uintmap.h @@ -25,7 +25,9 @@ void InitUIntMap(UIntMap *map, ALsizei limit); void ResetUIntMap(UIntMap *map); ALenum InsertUIntMapEntry(UIntMap *map, ALuint key, ALvoid *value); ALvoid *RemoveUIntMapKey(UIntMap *map, ALuint key); +ALvoid *RemoveUIntMapKeyNoLock(UIntMap *map, ALuint key); ALvoid *LookupUIntMapKey(UIntMap *map, ALuint key); +ALvoid *LookupUIntMapKeyNoLock(UIntMap *map, ALuint key); inline void LockUIntMapRead(UIntMap *map) { ReadLock(&map->lock); } |