[Re-devel] Using a heap (not a linked list) for timers

Rob Day rkd at rkd.me.uk
Sun Apr 10 00:05:26 CEST 2016

On 09/04/16 22:49, William King wrote:
> Rob,
> Without having looked at the patch, would the heap implementation be
> thread safe(provide its own locking system, or atomic operations)?

It's not - but nor is the linked list it replaces. (The heap data
structure is included in `struct re`, so if you're running multiple
processing threads, each libre thread gets a separate one - just as they
got a separate linked list of timers.)

Re-devel mailing list
Re-devel at lists.creytiv.com

More information about the Re-devel mailing list