add FIXME for (presently inert & never invoked) race condition
This commit is contained in:
@@ -394,6 +394,10 @@ impl F64Table {
|
|||||||
offset
|
offset
|
||||||
}
|
}
|
||||||
F64Table::Concurrent(concurrent_tbl) => {
|
F64Table::Concurrent(concurrent_tbl) => {
|
||||||
|
// FIXME: there is a race condition here when called on two Eq value's
|
||||||
|
// which breaks the invariant indirection_tbl is meant to enforce.
|
||||||
|
// Since this branch is never invoked, it does no harm, but that
|
||||||
|
// that will eventually change.
|
||||||
{
|
{
|
||||||
let indirection_tbl = concurrent_tbl.indirection_tbl.lock();
|
let indirection_tbl = concurrent_tbl.indirection_tbl.lock();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user