Re: [RFC PATCH 01/24] contrib/plugins: Use GRWLock in execlog

2023-08-14 Thread Alex Bennée
Akihiko Odaki writes: > execlog had the following comment: >> As we could have multiple threads trying to do this we need to >> serialise the expansion under a lock. Threads accessing already >> created entries can continue without issue even if the ptr array >> gets reallocated during resize.

[RFC PATCH 01/24] contrib/plugins: Use GRWLock in execlog

2023-07-31 Thread Akihiko Odaki
execlog had the following comment: > As we could have multiple threads trying to do this we need to > serialise the expansion under a lock. Threads accessing already > created entries can continue without issue even if the ptr array > gets reallocated during resize. However, when the ptr array get