Multithreaded data processor