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


Groups > comp.programming.threads > #1541

Re: SemCondvar version 1.1...

From Melzzzzz <mel@zzzzz.com>
Newsgroups comp.programming, comp.programming.threads
Subject Re: SemCondvar version 1.1...
Date 2013-06-14 02:40 +0200
Organization albasani.net
Message-ID <kpdoqb$2cd$3@news.albasani.net> (permalink)
References (2 earlier) <51BA8632.8050808@toto.net> <kpdn55$2cd$1@news.albasani.net> <51BA8B00.4010404@toto.net> <kpdnjp$2cd$2@news.albasani.net> <51BA8D56.9030906@toto.net>

Cross-posted to 2 groups.

Show all headers | View raw


On Thu, 13 Jun 2013 20:26:14 -0700
aminer <aminer@toto.net> wrote:

> On 6/13/2013 5:20 PM, Melzzzzz wrote:
> > On Thu, 13 Jun 2013 20:16:16 -0700
> > aminer <aminer@toto.net> wrote:
> >
> >>
> >>
> >> Please download the right version for FreePascal, not the one for
> >> Delphi XE4.
> >>
> >> http://pages.videotron.com/aminer/
> >
> > I think that you didn't put version for freepascal.
> > Both files are same.
> >
> >>
> >>
> >> Thank you,
> >> Amine Moulay Ramdane.
> >>
> >
> > You are welcome ;)
> >
> >>
> >>
> >>
> >>
> >
> >
> 

bmaxa@maxa:~/examples/aminer$ fpc  -O3 -Sd -dFPC -dFreePascal SemaCondvar.pas
Free Pascal Compiler version 2.6.0-9 [2013/04/16] for x86_64
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling SemaCondvar.pas
SemaCondvar.pas(136,7) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(158,12) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(198,14) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(230,16) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(300,30) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(326,30) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(241,7) Note: Local variable "b" not used
SemaCondvar.pas(377,7) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(396,12) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(436,14) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(468,16) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(540,30) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(567,30) Warning: use extended syntax of NEW and DISPOSE for instances of objects
SemaCondvar.pas(481,7) Note: Local variable "b" not used
586 lines compiled, 0.0 sec 
12 warning(s) issued
2 note(s) issued
bmaxa@maxa:~/examples/aminer$ fpc  -O3 -Sd -dFPC -dFreePascal test.pas
Free Pascal Compiler version 2.6.0-9 [2013/04/16] for x86_64
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling test.pas
test.pas(44,1) Note: Local variable "thread1" is assigned but never used
test.pas(45,1) Note: Local variable "thread2" is assigned but never used
test.pas(46,1) Note: Local variable "thread3" is assigned but never used
test.pas(47,1) Note: Local variable "thread4" is assigned but never used
Linking test
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
127 lines compiled, 0.1 sec 
4 note(s) issued
bmaxa@maxa:~/examples/aminer$ ./test
Type any key to signal the threads...

Thread3 signaled !
Thread1 signaled !
Thread2 signaled !
Thread4 signaled !
Number of waiters blocked is: 0



> 
> Please download again the FreePasal version , i have just changed 
> changed the link to point to the right version.
> 
> 
> http://pages.videotron.com/aminer/

Seems it is working now. I had to install lazarus beside fpc.

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


Thread

Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 01:47 +0200
  Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 02:12 +0200
    Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 02:20 +0200
      Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 02:40 +0200
      Re: SemCondvar version 1.1... Melzzzzz <mel@zzzzz.com> - 2013-06-14 02:56 +0200

csiph-web