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

Mike Frysinger vapier at gentoo.org
Wed Dec 8 10:44:29 CET 2010


On Saturday, July 17, 2010 15:45:46 Wolfgang Denk wrote:
> This implementation is based on code from uClibc-0.9.30.3 but was
> modified and extended for use within U-Boot.

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 
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 ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101208/3d9a27f3/attachment.pgp 


More information about the U-Boot mailing list