Subject: Re: CVS commit: src/lib/libpthread
To: Andrew Doran <ad@NetBSD.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 10/16/2007 19:00:11
On Tue, Oct 16, 2007 at 01:41:18PM +0000, Andrew Doran wrote:
> 
> Module Name:	src
> Committed By:	ad
> Date:		Tue Oct 16 13:41:18 UTC 2007
> 
> Modified Files:
> 	src/lib/libpthread: pthread.c pthread_int.h
> 
> Log Message:
> Replace the global thread list with a red-black tree. From joerg@.

Is this a place where you can pick the 'id' in order to make it
easy to lookup ?
In which case careful selection of 'id' values can may the lookup
a simple array index - as I did with process-id lookups in the kernel.

	David

-- 
David Laight: david@l8s.co.uk