Initializing multithreading examples.