BAP Online Manuals : Library Reference : Library by Name :
Previous: rec_msg
Next: reload

6.2.106. release_processes

releases processes claimed previously

SYNOPSIS

INCLUDE 'system.h'
release_processes(Number)

SYNTAX

release_processes(Number) (i)

ARGUMENTS

integer(Number) (i) The Number of processes to be released

DESCRIPTION

This predicate releases as many processes as given by number. Those processes must have been claimed by using claim_processes/1. They should also be freed by using free_server/1 prior to this predicate.

NOTE: As this version of BAP is meant only for single applications, claim_processes/1 is much simplified, and release_processes is simplified according to this, too. Actually, it does nothing at all, being fully compatible with true/0.

Nevertheless you should use this predicate in your programs, because that way they will run unchanged on multi-application platforms.

ERRORS

No runtime Errors.

LAYERS

client-server, object

RELATED PREDICATES

alloc_server , dcall , exec , free_server , xcall , claim_processes


BAP Online Manuals : Library Reference : Library by Name :
Previous: rec_msg
Next: reload