Re: Thread Pool memory ownership

2023-06-01 Thread Maxim Dounin
Hello! On Thu, Jun 01, 2023 at 09:29:58PM +1000, Mathew Heard wrote: > Thank you, > > I understand and it makes sense. > > Do you have any advice for how third party modules could acheive the same? > The blocked field might be safe to use within other phases but it's > difficult to fully verify

Re: Thread Pool memory ownership

2023-06-01 Thread Mathew Heard
Thank you, I understand and it makes sense. Do you have any advice for how third party modules could acheive the same? The blocked field might be safe to use within other phases but it's difficult to fully verify. I'm no longer using that module (having found an alternative) but I'm willing to p

Re: Thread Pool memory ownership

2023-05-30 Thread Maxim Dounin
Hello! On Wed, May 31, 2023 at 01:26:35AM +1000, Mathew Heard wrote: > I've been going through the threadpool code for native modules in an > attempt to fix a third party module with what appears to be a > use-after free error looking for inspiration. > > I thought I would see a strategy to prev