CFRunLoopStop does NOT act like "join" and block until the thread is stopped.
Use a lock to wait before returning.



git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@589 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Update the iossim binary to get one with -d for different simulator types.

R=dmaclach
DELTA=1  (0 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@590 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: aharper]

Improve worker thread implementation:
- Handle more of the NSThread interface.
- Allow cancel or stop before we've started.
- Cache looked up pthread_setname_np symbol in thread local storage.

R=dmaclach,thomasvl
APPROVED=dmaclach
DELTA=441  (339 added, 38 deleted, 64 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@591 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: aharper]

Move worker thread globals into the right #ifdef guard for SDK version.

R=dmaclach,thomasvl
APPROVED=thomasvl
DELTA=8  (4 added, 4 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@592 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: aharper]

Fix pthread_setname_np() call for empty strings (some OS versions don't
handle NULL).

R=dmaclach,thomasvl
APPROVED=dmaclach
DELTA=7  (6 added, 0 deleted, 1 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@593 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Remove the GC support code.
Add the needed images for the iOS unittests under iOS 6.0.
Add a workspace file for the iPhone project.

R=dmaclach
DELTA=215  (85 added, 122 deleted, 8 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@594 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
[Author: thomasvl]

Fix up one compile warning found by Xcode.
Use the newer directive to fix up the unittest bundle ids (flagged by
  newer Xcodes).
Force the deployment version to 10.5 to avoid a bunch of the color sync
  dep. notices.

R=dmaclach
DELTA=7  (2 added, 0 deleted, 5 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@595 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3