diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-12-18 00:30:10 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2012-12-18 00:30:10 +0000 |
commit | a18f91633f5bc0d805f167c340832b4515f5d682 (patch) | |
tree | 92cae0424db673064daad791a2ac92c5c55af006 /Foundation/GTMNSThread+Blocks.h | |
parent | e352172c303e12a7807d779042a74d314f76e277 (diff) |
[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)
Diffstat (limited to 'Foundation/GTMNSThread+Blocks.h')
-rw-r--r-- | Foundation/GTMNSThread+Blocks.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Foundation/GTMNSThread+Blocks.h b/Foundation/GTMNSThread+Blocks.h index b5df094..23e4e60 100644 --- a/Foundation/GTMNSThread+Blocks.h +++ b/Foundation/GTMNSThread+Blocks.h @@ -50,8 +50,9 @@ NSConditionLock *runLock_; } -// Will stop the thread. +// Will stop the thread, blocking till the thread exits. - (void)stop; + @end #endif // GTM_IPHONE_SDK || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) |