示例#1
0
 /// <summary>Creates a new <see cref="HalEventDispatcher"/></summary>
 /// <param name="DriverName">Name of the HAL driver providing the event data</param>
 /// <param name="DrvData">Driver specific context data for this event queue</param>
 public HalEventDispatcher( string DriverName, ulong DrvData )
 {
     this.EventQueue = new HalEventQueue( DriverName, DrvData );
     this.DispatcherThreadObj = new Thread( DispatcherThread );
     this.DispatcherThreadObj.Start();
 }
示例#2
0
 /// <summary>Creates a new <see cref="HalEventDispatcher"/></summary>
 /// <param name="DriverName">Name of the HAL driver providing the event data</param>
 /// <param name="DrvData">Driver specific context data for this event queue</param>
 public HalEventDispatcher(string DriverName, ulong DrvData)
 {
     this.EventQueue          = new HalEventQueue(DriverName, DrvData);
     this.DispatcherThreadObj = new Thread(DispatcherThread);
     this.DispatcherThreadObj.Start();
 }