[U-Boot] [PATCH 3/5] Add hash table support as base for new environment code

Wolfgang Denk wd at denx.de
Wed Dec 8 11:02:38 CET 2010


Dear Mike Frysinger,

In message <201012080444.30675.vapier at gentoo.org> you wrote:
>
> unless i'm missing something, the non-reentrant versions operate on a single 
> shared hash table.  so while this works today because there is only one 

Correct.

> consumer (the env code), wont this cause problems as soon as someone else 
> tries to use the non-reentrant hash table code ?  as such, wouldnt it make
> sense to punt all of the non-reentrant versions and thus force everyone to
> maintain their own "struct hsearch_data" instance ?

This could be done, but I don't see an immediate need.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I've already got a female to worry about. Her name is the Enterprise.
	-- Kirk, "The Corbomite Maneuver", stardate 1514.0


More information about the U-Boot mailing list