examples/performance-thread: check thread creation