diff options
author | Brian Cully <bjc@kublai.com> | 2008-04-14 21:45:08 -0400 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2008-04-14 21:45:08 -0400 |
commit | 17349a5e426dc7acf1216a3767a22f69974cbca0 (patch) | |
tree | 20029d02f07ab6257cccec36d34fb312f796e1d1 /Liaison/WriterThreadPool.h | |
download | liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.tar.gz liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.zip |
Initial commit.
Diffstat (limited to 'Liaison/WriterThreadPool.h')
-rw-r--r-- | Liaison/WriterThreadPool.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 |