aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSThread+Blocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMNSThread+Blocks.h')
-rw-r--r--Foundation/GTMNSThread+Blocks.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Foundation/GTMNSThread+Blocks.h b/Foundation/GTMNSThread+Blocks.h
index 755f1ce..4d92b31 100644
--- a/Foundation/GTMNSThread+Blocks.h
+++ b/Foundation/GTMNSThread+Blocks.h
@@ -36,3 +36,14 @@
@end
#endif // NS_BLOCKS_AVAILABLE
+
+// A simple thread that does nothing but handle performBlock and
+// performSelector calls.
+@interface GTMSimpleWorkerThread : NSThread {
+ @private
+ CFRunLoopRef runLoop_;
+}
+
+// Will stop the thread.
+- (void)stop;
+@end