diff options
author | David Xu <davidxu@FreeBSD.org> | 2005-04-07 06:09:17 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2005-04-07 06:09:17 +0000 |
commit | 62a2d99ce5879a823a3acb41d0be644fc3060f98 (patch) | |
tree | 37dd5cced67cee3b86cff99b234a9a105859ef5f | |
parent | 0417d4e3e9d3ce77602e1fc8b63da1fc9b5fbc54 (diff) |
Notes
-rw-r--r-- | lib/libthr/thread/thr_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_list.c b/lib/libthr/thread/thr_list.c index 6fb228b209e7b..06d14e8a5c872 100644 --- a/lib/libthr/thread/thr_list.c +++ b/lib/libthr/thread/thr_list.c @@ -65,7 +65,7 @@ static int inited = 0; LIST_HEAD(thread_hash_head, pthread); #define HASH_QUEUES 128 static struct thread_hash_head thr_hashtable[HASH_QUEUES]; -#define THREAD_HASH(thrd) (((unsigned long)thrd >> 12) % HASH_QUEUES) +#define THREAD_HASH(thrd) (((unsigned long)thrd >> 8) % HASH_QUEUES) static void thr_destroy(struct pthread *curthread, struct pthread *thread); |