Re:The Unscalable, Deadlock-Prone, Thread Pool
by 0db532a0 on Wednesday February 27, 2019 @12:56PM
(#19265305)
For the record, mlockall on Linux can lock all future allocations, including those made by shared libraries. You don’t need to manage a memory pool yourself.
https://linux.die.net/man/2/mlock