projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e1340
)
mesa: Fix typo.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 6 Mar 2009 14:01:24 +0000
(14:01 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 6 Mar 2009 14:03:04 +0000
(14:03 +0000)
Windows threads block if one over-unlocks them.
src/mesa/main/hash.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/hash.c
b/src/mesa/main/hash.c
index ffb2c4d946e47024471f8a84ca15d1651e77989c..976f9d999b70b862d02f504131532c2d4654bdb7 100644
(file)
--- a/
src/mesa/main/hash.c
+++ b/
src/mesa/main/hash.c
@@
-300,7
+300,7
@@
_mesa_HashWalk(const struct _mesa_HashTable *table,
GLuint pos;
ASSERT(table);
ASSERT(callback);
- _glthread_
UN
LOCK_MUTEX(table2->Mutex);
+ _glthread_LOCK_MUTEX(table2->Mutex);
for (pos = 0; pos < TABLE_SIZE; pos++) {
struct HashEntry *entry;
for (entry = table->Table[pos]; entry; entry = entry->Next) {