Frage im Vorstellungsgespräch bei MathWorks

This simple program is not thread-safe. Make it thread-safe.