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/NSFileHandleExtensions.m | |
download | liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.tar.gz liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.zip |
Initial commit.
Diffstat (limited to 'Liaison/NSFileHandleExtensions.m')
-rw-r--r-- | Liaison/NSFileHandleExtensions.m | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Liaison/NSFileHandleExtensions.m b/Liaison/NSFileHandleExtensions.m new file mode 100644 index 0000000..fa65189 --- /dev/null +++ b/Liaison/NSFileHandleExtensions.m @@ -0,0 +1,24 @@ +// +// NSFileHandleExtensions.m +// Liaison +// +// Created by Brian Cully on Sun May 25 2003. +// Copyright (c) 2003 Brian Cully. All rights reserved. +// + +#import "NSFileHandleExtensions.h" + +#import "WriterThreadPool.h" + +@implementation NSFileHandleExtensions +- (void)dealloc +{ + [[WriterThreadPool sharedPool] killThreadFor: self]; + [super dealloc]; +} + +- (void)writeDataInBackground: (NSData *)someData +{ + [[WriterThreadPool sharedPool] writeData: someData to: self]; +} +@end |