PA_FreezeProcess

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_FreezeProcess (pNum)

ParameterTypeDescription
pNumlongProcess number

Description

The routine PA_FreezeProcess suspends the execution of processes whose process number is pNum until it is reactivated by a call to PA_UnfreezeProcess.

This entry point does the same thing as the 4D Command PAUSE PROCESS; please refer to the 4th Dimension Language Reference manual for more information.

Example

Freeze current process during an infinite loop.

   while(!something done)
   {
      PA_FreezeProcess(PA_GetCurrentProcess())
   // we have been unfrozen. Time to work
   /* . . . code . . . */
   }

See Also

PAUSE PROCESS, PA_UnfreezeProcess.

Error Handling

Use PA_GetLastError to see if an error occurred


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next