Disio and thread library: implement QCThread::IsCurrentThread() method.