Function | Package: net.rpc | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## rthrow

Arguments: &optional tag value error-p

When called in the dynamic extent of a remote call, terminate the call and propagate tag and value to the remote caller.

Consequently, tag is a reference in the remote environment. If tag is `nil`, the remote call is simply terminated without a continuing throw in the remote environment. If tag is non-`nil`, remote call is terminated and the throw is continued in the remote environment.

An ordinary throw inside a remote call terminates the call but continues the throw in the local environment. The remote caller can determine that a throw happened. The thrown value will appear to be :unwind-protect.

When called in the dynamic extent of a remote call, this function does not return. If rthrow is called outside a remote call, then the effect depends on the error-p argument. When `nil`, simply return `nil`, otherwise signal an error.

See also rpc.htm for general information on the Remote Procedure Call utility in Allegro CL.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version