Re: API curiosity
- Posted by petelomax at blueyonder.co.uk Feb 15, 2002
- 452 views
On Thu, 14 Feb 2002 16:53:40 -0500, you wrote: >99.9% of users should *never* call lock_memory(). >It doesn't even work on WIN32 or Linux, only on DOS. >Don't worry, other people have the same misconception. >lock_memory() should *only* be used on DOS, and only >for a hardware interrupt handler written in Euphoria. >lock_memory() is needed in that one, highly-specialized, >situation because when a hardware interrupt occurs you >don't have the time, or the ability, to make the operating system >retrieve a piece of swapped out code or data. In any other situation, >it's perfectly ok for memory to be swapped out. That's the >operating system's job. Don't worry about it. Maybe you should note this in library.doc Pete