4 ms·
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. h
by 0db532a0 8y ago
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 https://linux.die.net/man/2/mlock
- magnetic 8y agoThat's very cool! It looks like that API doesn't exist on macOS, though... :-(