What is the correct way to perform lock file (for having critical section purpose) cleanup What is the correct way to perform lock file (for having critical section purpose) cleanup multithreading multithreading