PMDETACHCONTEXT(3)
PM Programmer's Manual
PMDETACHCONTEXT(3)
NAME
pmDetachContext - detach a context

SYNOPSIS
int pmDetachContext(pmContext *pmc);

ARGUMENTS
pmContext * pmc
IN
pmContext object

IMPLEMENTATION LEVEL
BASE

DESCRIPTION
pmDetachContext() detaches a pmContext object from the calling process and frees it.

INTERNAL
ref_count is decremented and if it is equal to zero the context is actually detached.

RETURN VALUES
PM_SUCCESS Success
EINVAL Not a pmAttachContext() context
EIO Internal error


CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2002 PC Cluster Consortium.