Add .gitignore
Split threads_private.h for x86/x86-64 cases