On Thu, 27 Sep 2001, Uwe Bonnes wrote:
What can happen between chdir() and execve() to trigger the pthread_kill_other_threads() call?
Well, not much... glibc's execve() implementation calls pthread_kill_other_threads_np() itself to prepare the threading system for an exec. This is a feature, not a bug.