I have:

class DataSignal : Thread
{
public:
   static int dataReadDelay;

   void run() {
       while (true) {
           Thread.sleep(dur!"msecs"(dataReadDelay));
           // Read in the new file data
       }
   }
}


in main I have:

DataSignal.dataReadDelay = 8000;

// initialize a bunch of signals


Then when each thread is running they sleep for 0 seconds, and I can verify that dataReadDelay is staying at 0. I have initialized it no where else. This seems like a major bug.

Reply via email to