NAME

ts_bind - Bind an arena to time slice(s).

SYNOPSIS

#include <charm.h>

Status ts_bind( int startslot, Cap tscap, ArenaID arena, Cap arenacap, int duration );

PARAMETERS

startslot The first time slice to with which the arena arena is being associated.

tscap The capability associated with the slot ts.

arena The arena being associated with ts.

arenacap The management capability for arena arena.

duration The number of slots which are being bound.

DESCRIPTION

This function associates an arena with range of time slices.

RETURN VALUES

Upon the successful completion, the ts_bind() function returns [SUCCESS].

ERRORS

If the ts_bind() function fails, a Status is returned that corresponds to one of the following values:

[TS_CAP_ INVALID] The capability specified by tscap is invalid.

[ARENA_CAP_INVALID] The capability specified by arenacap is invalid.

[TS_INVALID] The time slice specified by ts is invalid.

[NO_SUCH_ARENA] occurs if the arena specified does not exist.

RELATED INFORMATION

ts_change_caps (), ts_unbind (), ts_yield ().

last updated: 7/9/99