Solaris Containers: Resource Management and Solaris Zones Developer's Guide

Sun::Solaris::Task Module

The Sun::Solaris::Task module provides wrappers for the settaskid(2) and gettaskid(2) system calls.

Sun::Solaris::Task Constants

The Sun::Solaris::Task module uses the following constants.

TASK_NORMAL

TASK_FINAL

Sun::Solaris::Task Functions, Class Methods, and Object Methods

The perl extensions to the libexacct(3LIB) API provides the following functions for tasks.

settaskid(2)

gettaskid(2)

The Sun::Solaris::Task module has no class methods.

The Sun::Solaris::Task module has no object methods.

Sun::Solaris::Task Exports

By default, nothing is exported from this module. The following tags can be used to selectively import constants and functions defined in this module.

Tag 

Constant or Function 

:SYSCALLS

settaskid(), gettaskid()

:CONSTANTS

TASK_NORMAL and TASK_FINAL

:ALL

:SYSCALLS and :CONSTANTS