Creates and runs a wait-state-collection.
A Lisp object that names the collection. It is used only for printing.
t, the keyword
:abort or a function.
t, the keyword
create-and-run-wait-state-collection creates and runs a wait-state-collection.
create-and-run-wait-state-collection creates a wait-state-collection and then starts a new process which calls loop-processing-wait-state-collection on the new wait-state-collection (and therefore activates it), and returns it as wait-state-collection. The new process has process name "Loop Collection name". When loop-processing-wait-state-collection exits, wait-state-collection is closed and the other process exits too.
You can use wait-state-collection-stop-loop to make loop-processing-wait-state-collection exit, and hence close wait-state-collection and make the process go away. Calling process-terminate on the process itself can also be used, because it will use wait-state-collection-stop-loop.
Abort (calls the function
Print the condition to the standard output, and unless with-backtrace is
nil produces a backtrace, and then aborts.
Must be a function of three arguments when with-backtrace is non-nil, or two arguments when with-backtrace is
nil. When a serious condition is signaled, the handler is called inside the context of the error (like a handler in
handler object condition backtrace-string
handler object condition
The object argument is the object that is responsible for the error. Currently this is always the async-io-state with which the callback that caused the error is associated. If there is an error outside a callback (which should not happen), then object is
nil. condition is the condition that is signaled. backtrace-string is a string which is the result of producing a backtrace. If the handler returns,
(cl:abort) is called.
(cl:abort), which aborts to the closest enclosing abort restart. If your code establishes such a restart around the error, the aborting will abort to it. Otherwise it will abort back to the loop of waiting and calling.
LispWorks User Guide and Reference Manual - 13 Feb 2015