next up previous contents
Next: Extrinsic Language Bindings Up: The SERIAL Model Previous: The SERIAL Model

SERIAL Calling Sequence

Prior to invocation of a SERIAL procedure from global HPF, the behavior of the program will be as if the following actions take place:

  1. The processors are synchronized. All actions that logically precede the call are completed.
  2. All actual arguments are remapped to the processor that will actually execute the SERIAL procedure. Each argument will appear to the SERIAL procedure as a sequential argument.

The behavior of the SERIAL procedure will be as if it was executed on only one processor. After the instance of the SERIAL procedure invoked from global HPF has completed, the behavior will be as if the following happens:

  1. All processors are synchronized after the call.
  2. The original mappings of actual arguments are restored.