Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1187

Re: ParallelSort library have been updated to version 3.01

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From "aminer" <aminer@toto.com>
Newsgroups comp.programming.threads, comp.programming
Subject Re: ParallelSort library have been updated to version 3.01
Date Thu, 25 Oct 2012 21:26:13 -0500
Organization A noiseless patient Spider
Lines 88
Message-ID <k6coj4$4se$1@dont-email.me> (permalink)
References <k6co9o$3mv$1@dont-email.me>
Injection-Date Fri, 26 Oct 2012 01:21:40 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="c43ca82f9e8d62a602307fe9d2e9b807"; logging-data="5006"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JZEFWtIXylzzNPVNE5Zfy"
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646 Format=Flowed; Response
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
Cancel-Lock sha1:0QkVXCG9W4ZrIKgLG4Nm/rY18lk=
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com comp.programming.threads:1187 comp.programming:2391

Cross-posted to 2 groups.

Show key headers only | View raw


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.


"aminer" <aminer@toto.com> wrote in message 
news:k6co9o$3mv$1@dont-email.me...
>
> 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 | NextPrevious in thread | Next 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