[vox-tech] Must a 300 microsecond delay keep the CPU busy?

Ted Deppner ted at psyber.com
Tue Apr 4 14:52:08 PDT 2006


On Tue, Apr 04, 2006 at 02:26:11PM -0700, Micah J. Cowan wrote:
> On Tue, Apr 04, 2006 at 01:16:07PM -0700, Ted Deppner wrote:
> >     if (mlockall(MCL_FUTURE)) { perror("mlockall"); exit(1); }
> 
> Might he want to bitwise-or that with MCL_CURRENT? Otherwise, isn't
> swapping (of the preexisting page[s]) still a possibility?

That sounds right.  It's been years since I used these... I had to dust
off some bits and refer a several archived no-longer-running machine
backups to dig up that code.  :)

-- 
Ted Deppner
http://www.deppner.us/


More information about the vox-tech mailing list