Waits for ownership of the critical section object.
public procedure Enter;
The function returns when the calling thread is granted ownership.