Opened 12 years ago
Closed 10 years ago
#9552 closed enhancement (fixed)
Replace all uses of khash by BOpenHashTable
Reported by: | bonefish | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #9551 | |
Platform: | All |
Description
The C style hash implementation in headers/private/kernel/util/khash.h
is obsolescent. BOpenHashTable
should be used instead. That concerns the kernel sources and some modules/drivers.
Change History (3)
comment:1 by , 12 years ago
Blocking: | 9551 added |
---|
comment:2 by , 10 years ago
List of khash users: http://code.metager.de/source/s?n=50&start=0&sort=relevancy&q=khash&project=haiku
Note:
See TracTickets
for help on using tickets.
(In #9551) To add some details to Axel's terse comment: The value of
vnode
is not relevant in this case. The used construct is just a replacement foroffsetof()
for which gcc would issue a warning. It's very ugly, though. I created #9552 for the best way to solve it.