Dr. Gui explains how to avoid multithreading procedures, which is not using the lock type object, although common but is wrong.
Click here to read the full story