summaryrefslogtreecommitdiff
path: root/src/mesa/main/hash.c
AgeCommit message (Collapse)Author
2009-04-09mesa: fix potential recursive locking deadlock in _mesa_HashWalk()Brian Paul
If the walk callback called _mesa_HashRemove() we'd deadlock.
2009-03-06mesa: Fix typo.José Fonseca
Windows threads block if one over-unlocks them.
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2006-07-03disable a new mem leak check until we're sure it's validBrian Paul
2006-06-30clean-upsBrian Paul
2006-06-30Added _mesa_HashDeleteAll() to delete all entries in a hash table with aBrian Paul
callback function. Added _mesa_HashWalk() to walk over all entries in a hash table with callback.
2005-08-25don't compile debug code (bug 4242: rand undefined)Brian Paul
2005-04-10set table size to 1023 and use new HASH_FUNC() macroBrian Paul
2005-04-09Bug #2945: Fix math error that left half the hash buckets empty.Adam Jackson
2005-01-24Added _mesa_HashNextEntry() function to allow walking over all entriesBrian Paul
in a hash table. Added _mesa_test_hash_functions() for unit testing. Updated comments, etc.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2002-12-12Add mechanism to destroy mutexes. Important on OS's where mutex initializationKeith Whitwell
allocates memory (like FreeBSD).
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
2002-09-16doxygen commentsBrian Paul
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2001-11-02init the hash table mutex in _mesa_NewHashTable (Won-Suk Chun)Brian Paul
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2000-03-21removed a few const keywords because of mutex callsBrian Paul
2000-03-21added more lockingBrian Paul
2000-01-31added mutexes for thread safetyBrian Paul
2000-01-24prefixed hash functions with _mesa_Brian Paul
2000-01-04start search at 1 in HashFindFreeKeyBlock()Brian Paul
1999-11-11first big check-in of new Mesa 3.3 codeBrian Paul
1999-10-13removed GL_ prefix from memory macrosBrian Paul
1999-10-08Fixed includes & added a few hooks for the DRI.Keith Whitwell
1999-08-19Initial revisionjtg