Split thread.c into a number of system-specific files.
Added Tim Peters' pthread version.
6 files changed