From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 08 Dec 2010 11:02:38 +0100 Subject: [U-Boot] [PATCH 3/5] Add hash table support as base for new environment code In-Reply-To: <201012080444.30675.vapier@gentoo.org> References: <1279395948-25864-1-git-send-email-wd@denx.de> <1279395948-25864-4-git-send-email-wd@denx.de> <201012080444.30675.vapier@gentoo.org> Message-ID: <20101208100238.EBA62140688@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <201012080444.30675.vapier@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