multithreading commit