public void ThreadProc() { while (UpdateThread.linkedGlove == null) { Thread.Sleep(10); } while (UpdateThread.linkedGlove != null) { rawData = linkedGlove.Update(UpdateLevel.HandPositions, this.solver, this.limitFingers, this.updateWrist, new Quat(0, 0, 0, 1), false); Thread.Sleep(10); } }