ARMmbed / core-util

DEPRECATED: Mbed 3 utilities library
Other
12 stars 17 forks source link

Re-entrant BinaryHeap implementation is not re-entrant in the general case. #87

Open ghost opened 8 years ago

ghost commented 8 years ago

The BinaryHeap implementation palces critical sections around insertion and deletion but not around get_root(). For types that are not single copy atomic get_root() may observe a partial update of array[0]

ciarmcom commented 8 years ago

ARM Internal Ref: IOTSFW-2102