Skip to content
#

beam

Here are 160 public repositories matching this topic...

hansihe
hansihe commented Aug 21, 2019

The documentation for ProcessControlBlock::acquire_heap is reentrant. This code seems to use the rust std Mutex, which is not.

https://github.com/lumen/lumen/blob/aeae1721d0fc02982898c8bcd1e7ed0ae5db151c/liblumen_alloc/src/erts/process.rs#L202-L204

This causes issues when (for instance) using ProcessControlBlock::tuple_from_iter along with an iterator that allocates.

Loading…
You can’t perform that action at this time.