Class CompilerEnvironment()->lock

Description

This class acts as a lock against other threads accessing the compiler.

The lock is released when the object is destructed.