Click or drag to resize

WaitSetWait Method (ICollectionCondition)

This operation allows an application thread to wait for the occurrence of certain conditions. If none of the conditions attached to the WaitSet have a TriggerValue of , the wait operation will block suspending the calling thread.

The wait operation will wait infinite time for the conditions.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode Wait(
	ICollection<Condition> activeConditions
)

Parameters

activeConditions
Type: System.Collections.GenericICollectionCondition
The collection of Conditions with the TriggerValue equals when the thread is unblocked.

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks
It is not allowed for more than one application thread to be waiting on the same WaitSet. If the wait operation is invoked on a WaitSet that already has a thread blocking on it, the operation will return immediately with the value PreconditionNotMet.
See Also