This project is read-only.
1
Vote

Controller Thread syncronization

description

The current project has thread syncronization of the node initialization process.
 
One node is initialized at a time in ZWaveController.CreateNodes()
 
And one node runs completely through the Nodes.Initialize(); before returning.
 
Proposal: Implement a thread signal to the ZWaveController.Open() from ZWaveController.CreateNodes() to replace the
            System.Threading.Thread.Sleep(5000);
So it will not return until all nodes have completed initialization
 
Possible having to methods of Open (One single threaded and a multi threaded with notification of completion)

comments

HornerG wrote Nov 18, 2011 at 5:28 PM

Why not look at the Async CTP or Reactive Extensions (Rx) Framework

pobel wrote Nov 21, 2011 at 9:02 PM

Do you have any familiarity with Async CTP or Reactive Extensions? Will it run on a limited .Net framework such as Mono or Netduino.

wrote Feb 14, 2013 at 2:26 AM