From 17349a5e426dc7acf1216a3767a22f69974cbca0 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 14 Apr 2008 21:45:08 -0400 Subject: Initial commit. --- Liaison/WriterThreadPool.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Liaison/WriterThreadPool.h (limited to 'Liaison/WriterThreadPool.h') diff --git a/Liaison/WriterThreadPool.h b/Liaison/WriterThreadPool.h new file mode 100644 index 0000000..20825a5 --- /dev/null +++ b/Liaison/WriterThreadPool.h @@ -0,0 +1,17 @@ +// +// WriterThreadPool.h +// Liaison +// +// Created by Brian Cully on Wed Feb 26 2003. +// Copyright (c) 2003 Brian Cully. All rights reserved. +// + +@interface WriterThreadPool : NSObject { + NSMutableDictionary *theWriterThreads; +} ++ (WriterThreadPool *)sharedPool; + +- (void)writeData: (NSData *)someData to: (NSFileHandle *)aFileHandle; +- (void)killThreadFor: (NSFileHandle *)aFileHandle; +@property (retain) NSMutableDictionary *theWriterThreads; +@end -- cgit v1.2.3