get_threading_attribT_get_threading_attribGetThreadingAttribGetThreadingAttrib (Operator)
Name
get_threading_attribT_get_threading_attribGetThreadingAttribGetThreadingAttrib
— Query the attributes of a threading / synchronization object.
Signature
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
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
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