Thread creation and joining, Win32 support only.