Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>swap_freeparagraphs</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
swap_freeparagraphs

   These function calls can be nested. If two calls are made to the off
   function,  two calls will also be needed to the on function in order to
   reactivate the  feature.

Usage

   #include <swap.h>
   void swap_freeparagraphs(unsigned int para);

Description

   The argument para is the number of 16 byte paragraphs of memory that
   Swap is to make available for the spawned process. Swap normally frees
   all  the memory it can, but if you are running a program that will only
   require  a only a small amount of memory then the use of this function
   will allow  Swap to execute faster. Note that each kilobyte of memory
   consists of 64  paragraphs. This call is for speed enhancement only.  A
   call to this  function will implicitely turn on the "free paragraphs"
   feature. It can be  turned off again by calling swap_freeparagraphsoff().

   If the number of paragraphs specified is greater than Swap can free,
   Swap  will free all it can and continue to spawn the process.

See Also

   spawn, system



See Also: spawn system

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson