All Manuals > LispWorks User Guide and Reference Manual > 26 The COMM Package

NextPrevUpTopContentsIndex

server-terminate

Function
Summary

Terminates a server.

Package

comm

Signature

server-terminate server => result

Arguments

server

A mp:process object.

Values

result

A boolean.

Description

The function server-terminate terminates the server process server .

server must be a process which is the result of a call to start-up-server. server-terminate terminates it, and frees all the associated resources.

server-terminate returns t if the server was still active when it was called, otherwise it returns nil . It can be called repeatedly on the same server, and can be used as a predicate to check whether the server really went away.

Notes

In LispWorks 6.0 and earlier versions, process-kill is the way to terminate servers. This is deprecated, because it may leave some value in an invalid state.

See also

start-up-server


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex