On Wed Sep 13 16:26:12 2023 +0000, Paul Gofman wrote:
Oh, looking again into it, there is also a cookie which needs to be freed, and storing the cookie in thread data instead of pointer will warrant an extra flag to indicate that the mta should be unreferenced. So is it really an improvement?
I don't think you need flags, cookie can't be zero.