]> granicus.if.org Git - gc/commit
2009-11-07 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Sat, 7 Nov 2009 10:01:15 +0000 (10:01 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:52 +0000 (21:06 +0400)
commit214ed3f729701a0b14c3b13efb56ac4b6ac1ed46
tree7c69ff45bbf40f064ad7cb3a18455b0da580264f
parenta836a59858044e4bb2e9dc6fd3ea0b7ff3676bfc
2009-11-07  Ivan Maidanski <ivmai@mail.ru>

* win32_threads.c (THREAD_TABLE_SZ): Change back to a power-of-two
const value (for speed).
* win32_threads.c (THREAD_TABLE_INDEX): New macro.
* win32_threads.c (GC_new_thread, GC_lookup_thread_inner,
GC_delete_gc_thread, GC_delete_thread, GC_lookup_pthread): Use
THREAD_TABLE_INDEX instead of THREAD_TABLE_SZ.
* win32_threads.c (PTHREAD_MAP_HASH): Rename to PTHREAD_MAP_INDEX.
ChangeLog
win32_threads.c