Rudimentary implementation of multithreaded query processing