Initial multithreading support for HERK