The idea is to produce a macro to easily prevent some content (generally a script) to be executed by several threads at the same time.