RT multithread