Example source code for the article 'Mutex Class in C++'