> This does not matter. This is no real world program, this is a short > example which triggers the bug. That's everything. No, fix your buggy program: pthread_wait for threads who have not finished before returning from main or calling exit. That's everything.