Interleave Class

Microsoft Robotics
Microsoft Robotics Class Reference
The Interleave arbiter is a generalization of reader/writer lock style synchronization

Namespace: Microsoft.Ccr.Core
Assembly: Microsoft.Ccr.Core (in Microsoft.Ccr.Core.dll) Version: (

public class Interleave : IArbiterTask, ITask

Intelreave will guarantee that the user delegates associated with the receivers in the Exclusive group will run Exclusive to eah other and any delegate associated with the Concurrent receivers. Interleav eis biased towards Exclusive receivers so if a Concurrent receiver is currently executing and an Exclusive receiver is ready to execute, it will wait untilt he Concurrent receiver is complete and it will preempt any more Concurrent receivers from running until all Exclusive receivers have run