Hello,
ParallelSort library has been updated to version 3.01
I have coprrected a problem so that ParallelSort library will not
deadlock, it was deadlocking in the situation were you enter
the: if (( length1 + length2 ) <= 8000) , inside
TParallelSort.merge_parallel() method. at the first time when
value equal 0 without signaling the event.
I have corrected this problem, and here is what i have corrected:
I have added this:
if long(value^)=0 then event.setevent;
to the TParallelSort.merge_parallel() method.
Like this:
if (( length1 + length2 ) <= 8000) then
begin
SequentialMerge(a, t, p1, r1, p2, r2, p3,scompare);
if long(value^)=0 then event.setevent;
exit;
end;
You can download ParallelSort library version 3.01 from:
http://pages.videotron.com/aminer/Thank you,
Amine Moulay Ramdane.