s4-process: fixed the thread process model so it compiles