Re: mlock() addendum ...
Re: mlock() addendum ...
- Subject: Re: mlock() addendum ...
- From: James McCartney <email@hidden>
- Date: Wed, 21 Nov 2001 20:13:33 -0600
on 11/21/01 5:15 PM, John Lazzaro at email@hidden wrote:
>
See:
>
>
http://lists.gnupg.org/pipermail/gnupg-devel/2001-September/006401.html
>
>
for working OS X code that uses mlock() -- the GPG folks use memory
>
locking in their security code, this example shows the necessary
>
workaround (the mprotect() call) to get mlock() working.
I typed this in, su root, ran it. mlock returns ENOMEM both times.
--- james mccartney email@hidden <
http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<
ftp://www.audiosynth.com/pub/updates/SC2.2.11.sea.hqx>