Add support for 'concurrent' NSOperations, but remove the pools of theads and

and run normal operations each in their own until we re-instate pools.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32440 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-03-03 10:56:47 +00:00
parent 6e6720d36f
commit db78d4cd8e
6 changed files with 160 additions and 256 deletions

View file

@ -110,7 +110,7 @@ int main()
PASS(([obj1 maxConcurrentOperationCount] == NSOperationQueueDefaultMaxConcurrentOperationCount), "max concurrent set to default");
PASS_EXCEPTION([obj1 setMaxConcurrentOperationCount: -1000000];,
NSInvalidArgumentException,
"NSOperationQueue cannot be given neagative count");
"NSOperationQueue cannot be given negative count");
obj2 = [NSOperation new];
[obj1 addOperation: obj2];