process_name

BAP Online Manuals : Library Reference : Library by Name : process_name
Previous: parse
Next: prologtoken

6.2.96. process_name

sets the name of the process

SYNOPSIS

INCLUDE 'sysman.h'
process_name("demotask")

SYNTAX

process_name(Name) (i)

ARGUMENTS

string(Name) (i) name of the process

DESCRIPTION

Changes the name of the process. The server will be notified so the process can be identified in the process list. This is useful for debugging .

EXAMPLE

process_name(test),
do_something,
process_name(server).		% default name

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

trace


BAP Online Manuals : Library Reference : Library by Name : process_name
Previous: parse
Next: prologtoken