[fpc-devel] mlockall() unit libc

Stefan Kisdaroczi kisda at hispeed.ch
Mon Jan 4 16:07:19 CET 2010


hi all,

i need the mlockall() call (unit libc) in my realtime apps on linux i386 to lock the address space of the process.
Works, but unit libc has no future and it's the only function i need from this unit.

I would like to add this call to another unit (unix? baseunix?).
Can I look at the fpmmap() implementation or are there better "examples" ?
Thanks for any hints.

kisda

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100104/11caf5af/attachment.sig>


More information about the fpc-devel mailing list