bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6600: [PATCH] sort: add --threads option to parallelize internal sor


From: Paul Eggert
Subject: bug#6600: [PATCH] sort: add --threads option to parallelize internal sort.
Date: Fri, 09 Jul 2010 19:54:26 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5

On 07/09/10 18:07, Pádraig Brady wrote:
> Chen Guo wrote:
>> That happened when more than one instance of memcoll is called on the same
>> line at once, since memcoll replaces the eolchar with '\0'. Under our 
>> approach,
>> the same line shouldn't ever be compared at the same time, so we're fine.

Ah, sorry, I wasn't aware of that.

> I'm thinking of dropping
> the whole xmemcoll0() thing altogether assuming your
> statement above is correct, that a particular line will
> not be used at the same time by multiple threads.

Yes, that makes sense.  We can revert that change from gnulib, since it
makes gnulib bigger unnecessarily.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]