On 4 Feb 2014, at 19:10, Larry Campbell <[email protected]> wrote:

> Is there a reason that NSOperationQueue's thread pool size is hard-coded at 
> eight? For threads that are, say, doing network I/O, it would be very useful 
> to use more than eight.

IIRC the only reason is that when I was developing and testing behaviors on 
OSX, the system I was using seemed to run no more than 8 operations at a time, 
so it was a guess at an OSX compatible pool size.  For all I know this actually 
varies between different OSX versions or even for different circumstances (I 
haven't seen any documentation saying what the pool size should be).
I see no reason why we couldn't add a user default or environment variable to 
make it configurable, but it might make more sense to try testing what the 
latest OSX version does and aim for updating to match that if necessary.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to