Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixes and cleanup

  • Loading branch information...
commit 638969e17108b1c227bfb8d320586059fe9e78ea 1 parent cd0c15b
Steve Dekorte authored
2  ActorKit/BatchProxy.m
@@ -21,7 +21,7 @@ @implementation BatchProxy
21 21
 
22 22
 - (void)dealloc
23 23
 {
24  
-	
  24
+	[self setBatchTarget:nil];
25 25
 	[super dealloc];
26 26
 }
27 27
 
12  README.txt
@@ -58,21 +58,17 @@ SyncProxy
58 58
 
59 59
 	NSMutableDictionary *dict = [[NSMutableDictionary dictionary] asSynchronous];
60 60
 
61  
-	Now message sends from all threads to dict will be locked such that only one 
62  
-	thread can access it at a time.
  61
+	You now have a thread safe dictionary.
63 62
 
64 63
 
65 64
 
66 65
 BatchProxy
67 66
 
68  
-	Calling batch on an NSArray returns a BatchProxy which can be used to do
  67
+	Calling asBatch on an NSArray returns a BatchProxy which can be used to do
69 68
 	a parallel "map" using GCD (BSD workerqueues). Example:
70 69
 
71 70
 	NSArray *results = [[urls asBatch] fetch];
72 71
 
73  
-	You can also combine asSynchronous and asBatch to get the type of synchronization
74  
-	and parallelism that suits your problem.
75  
-
76 72
 		
77 73
 	
78 74
 Notes
@@ -106,11 +102,13 @@ To Do
106 102
 
107 103
 	- convenience methods for performing blocking ops via single calls to instance methods
108 104
 	
109  
-	- deadlock detection for actor queue limit, synchronous and batches
  105
+	- auto deadlock detection for actor queue limit, synchronous and batches
110 106
 	
111 107
 	- add a total queue and/or total actor limits
112 108
 	
113 109
 	- better respondsToSelector implementation
  110
+	
  111
+	- chainable batch groups with in, out, and error queues
114 112
 
115 113
 
116 114
 

0 notes on commit 638969e

Please sign in to comment.
Something went wrong with that request. Please try again.