ClassesClasses | | Operators

get_threading_attribT_get_threading_attribGetThreadingAttribGetThreadingAttrib (Operator)

Name

get_threading_attribT_get_threading_attribGetThreadingAttribGetThreadingAttrib — Query the attributes of a threading / synchronization object.

Signature

get_threading_attrib( : : ThreadingHandle : ThreadingClass, AttribName, AttribValue)

Herror T_get_threading_attrib(const Htuple ThreadingHandle, Htuple* ThreadingClass, Htuple* AttribName, Htuple* AttribValue)

void GetThreadingAttrib(const HTuple& ThreadingHandle, HTuple* ThreadingClass, HTuple* AttribName, HTuple* AttribValue)

static void HOperatorSet.GetThreadingAttrib(HTuple threadingHandle, out HTuple threadingClass, out HTuple attribName, out HTuple attribValue)

Description

get_threading_attribget_threading_attribGetThreadingAttribGetThreadingAttribGetThreadingAttrib determines the type of threading object passed to ThreadingHandleThreadingHandleThreadingHandleThreadingHandlethreadingHandle and the attributes the threading object was created with.

Execution Information

Parameters

ThreadingHandleThreadingHandleThreadingHandleThreadingHandlethreadingHandle (input_control)  number HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Threading object.

ThreadingClassThreadingClassThreadingClassThreadingClassthreadingClass (output_control)  string-array HTupleHTupleHtuple (string) (string) (HString) (char*)

Class name of threading object.

AttribNameAttribNameAttribNameAttribNameattribName (output_control)  string-array HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of an attribute.

AttribValueAttribValueAttribValueAttribValueattribValue (output_control)  number-array HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

Value of the attribute.

Result

If the threading handle is valid, the operator get_threading_attribget_threading_attribGetThreadingAttribGetThreadingAttribGetThreadingAttrib returns 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Successors

create_mutexcreate_mutexCreateMutexCreateMutexCreateMutex, create_eventcreate_eventCreateEventCreateEventCreateEvent, create_conditioncreate_conditionCreateConditionCreateConditionCreateCondition, create_barriercreate_barrierCreateBarrierCreateBarrierCreateBarrier

See also

create_mutexcreate_mutexCreateMutexCreateMutexCreateMutex, create_eventcreate_eventCreateEventCreateEventCreateEvent, create_conditioncreate_conditionCreateConditionCreateConditionCreateCondition, create_barriercreate_barrierCreateBarrierCreateBarrierCreateBarrier

Module

Foundation


ClassesClasses | | Operators