[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stress-ng process termination issue



Hello,

Michael Kelly, le mar. 29 juil. 2025 20:46:24 +0100, a ecrit:
> I think that I have an understanding of how this problem arises. Apologies
> for the long explanation especially if much of this is already apparent to
> you.

Thanks for the investigation and the details!

> I've attached my proposal for review. The solution appears clumsy but I
> could not see a more trivial method of traversing the list safely with the
> locks necessarily released for the call to thread_force_terminate().

It looks alright to me, just pre-acquiring a reference for the next
thread.

Samuel


Reply to: