private void threadFunc() { while(ROS.ok && !disposed) { _go.WaitOne(); if (ROS.ok && !disposed) Op(); } thread = null; }