Conform to the new CSR_PROCESS and CSR_THREAD.