Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.programming.threads > #1186

ParallelSort library have been updated to version 3.01

From "aminer" <aminer@toto.com>
Newsgroups comp.programming.threads, comp.programming
Subject ParallelSort library have been updated to version 3.01
Date 2012-10-25 21:21 -0500
Organization A noiseless patient Spider
Message-ID <k6co9o$3mv$1@dont-email.me> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


Hello,


ParallelSort library have 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.


Back to comp.programming.threads | Previous | NextNext in thread | Find similar


Thread

ParallelSort library have been updated to version 3.01 "aminer" <aminer@toto.com> - 2012-10-25 21:21 -0500
  Re: ParallelSort library have been updated to version 3.01 "aminer" <aminer@toto.com> - 2012-10-25 21:26 -0500
  Re: ParallelSort library have been updated to version 3.01 Anonymous <nobody@remailer.paranoici.org> - 2012-10-26 09:43 +0000

csiph-web