get_threading_attribT_get_threading_attribGetThreadingAttribGetThreadingAttribget_threading_attrib (Operator)

Name

get_threading_attribT_get_threading_attribGetThreadingAttribGetThreadingAttribget_threading_attrib — 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)

def get_threading_attrib(threading_handle: int) -> Tuple[Sequence[str], Sequence[str], Sequence[Union[int, float, str]]]

Description

get_threading_attribget_threading_attribGetThreadingAttribGetThreadingAttribget_threading_attrib determines the type of threading object passed to ThreadingHandleThreadingHandleThreadingHandlethreadingHandlethreading_handle and the attributes the threading object was created with.

Execution Information

Parameters

ThreadingHandleThreadingHandleThreadingHandlethreadingHandlethreading_handle (input_control)  number HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Threading object.

ThreadingClassThreadingClassThreadingClassthreadingClassthreading_class (output_control)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Class name of threading object.

AttribNameAttribNameAttribNameattribNameattrib_name (output_control)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Name of an attribute.

AttribValueAttribValueAttribValueattribValueattrib_value (output_control)  number-array HTupleSequence[Union[int, float, str]]HTupleHtuple (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_attribGetThreadingAttribGetThreadingAttribget_threading_attrib returns 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Successors

create_mutexcreate_mutexCreateMutexCreateMutexcreate_mutex, create_eventcreate_eventCreateEventCreateEventcreate_event, create_conditioncreate_conditionCreateConditionCreateConditioncreate_condition, create_barriercreate_barrierCreateBarrierCreateBarriercreate_barrier

See also

create_mutexcreate_mutexCreateMutexCreateMutexcreate_mutex, create_eventcreate_eventCreateEventCreateEventcreate_event, create_conditioncreate_conditionCreateConditionCreateConditioncreate_condition, create_barriercreate_barrierCreateBarrierCreateBarriercreate_barrier

Module

Foundation