process-reset

Function

Package: mp

Arguments: process &optional no-unwind kill

This function causes process when it next runs to throw out to its present computation, if any, then apply its initial function to its initial argument. The no-unwind argument controls what happens to process' present computation, if it has one. nil (the default) or :unless-current cause the process to be unwound unless it is the current process. t unconditionally skips the unwind. Any other value causes unconditional unwind, which will throw out of the caller even if the process being reset is current.

The argument kill (not in the os-thread implementation of multiprocessing) causes the process to be killed after unwinding. It is intended only for internal use by the mp:process-kill function. kill defaults to nil and should not be set by user code.

See multiprocessing.htm for general information on multiprocessing in Allegro CL.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.