Hi,
win64 compilation failed:
c:/lazarus/source/bin/ppcx64.exe -Ur -Xs -O2 -n -Fux86_64 -Fusystems
-FuC:/lazarus/source/fpcbuild/2.1/fpcsrc/rtl/units/x86_64-win64
-Fix86_64 -FE. -FUx86_64/units/x86_64-win64 -dRELEASE -dx86_64 -dGDB
-dBROWSERLOG -Fux86 pp.pas
symsym.pas(519,43) Error: Illegal
Is there any implementation for Mutex in FPC?
I have a piece of code in a procedure that I want to be accessible from
one of many available threads, at a time.
While searching I found a post that announced Mutex is not implemented
in FPC and suggest to use RTLCiticalSection
(http://lists.free
There's no "visible" mutex interface in fpc right now. ATM all
non-windows platforms have semaphores in the ThreadManager but the
windows ones afaik don't.
I think you can simply use CriticalSection instead of mutex to achieve
what you need.
Ales
___
f
> Op Fri, 3 Nov 2006, schreef Marco van de Voort:
>
> > > Op Fri, 3 Nov 2006, schreef Marco van de Voort:
> > >
> > > > While ok in general, some older systems might still be in whatever the
> > > > vgafont specifies (iow dos CP437) on the console.
> > >
> > > The Linux console always boots up i
> On Fri, 3 Nov 2006, Ales Katona wrote:
> > I'm willing to add the required networking support to the packager if
> > you guys tell me "how". I mean, should I add lNet as a choice to
> > package/base or fcl (not sure on which the packager actualy depends), or
> > just "inside" the packager (eg: no
Marco van de Voort wrote:
Synapse too? Why not Indy then? :-)
yes, indy run on arm-wince :-)
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
On Sat, 4 Nov 2006, Marco van de Voort wrote:
> > On Fri, 3 Nov 2006, Ales Katona wrote:
> > > I'm willing to add the required networking support to the packager if
> > > you guys tell me "how". I mean, should I add lNet as a choice to
> > > package/base or fcl (not sure on which the packager ac
> - lnet (Ales, will you do this or not, I was actually waiting with my
> implementation?)
I mailed you yesterday, I get this error trying to compile fppkg:
Target OS: FreeBSD/ELF for i386
Compiling fprepos.pp
Fatal: Can't find unit streamcoll
Seems it's either not installed with fcl or there's
> > - lnet (Ales, will you do this or not, I was actually waiting with my
> > implementation?)
>
> I mailed you yesterday, I get this error trying to compile fppkg:
>
> Target OS: FreeBSD/ELF for i386
> Compiling fprepos.pp
> Fatal: Can't find unit streamcoll
My "make all install" on freebsd of
On so , 2006-11-04 at 18:17 +0100, Marco van de Voort wrote:
> streamcoll
>
> My "make all install" on freebsd of this morning installed a unit
> streamcoll, so probably already fixed.
I confirm, latest 2.1.1 works.
___
fpc-devel maillist - fpc-devel
On Sat, 4 Nov 2006, Ales Katona wrote:
> > - lnet (Ales, will you do this or not, I was actually waiting with my
> > implementation?)
>
> I mailed you yesterday, I get this error trying to compile fppkg:
>
> Target OS: FreeBSD/ELF for i386
> Compiling fprepos.pp
> Fatal: Can't find unit strea
Ok I tested it and I got an odd bug.
When I "writeln" the buffer contents before writing them to the Dest
stream, they are ok. But the resulting file is a garbage of xterm crap
(mostly symbols) with exactly same size as the thing I downloaded
(completly different data).
I've no idea where to look
> Ok I tested it and I got an odd bug.
>
> When I "writeln" the buffer contents before writing them to the Dest
> stream, they are ok. But the resulting file is a garbage of xterm crap
> (mostly symbols) with exactly same size as the thing I downloaded
> (completly different data).
>
> I've no id
Oh DOH thanks, it was the pointer stuff. Sometimes I wished fpc warned
if you pass a pointer to untyped var.
In any case pkglnet.pas is in now, I tested with the example and it
worked. Only HTTP yet, but I'll do FTP ASAP.
Ales
___
fpc-devel maillist -
Wanted to ask, how should I process the URL?
Should I also understand ":" as separator for port eg:
http://www.shit.com:3030 ?
Shouldn't this be parsed by some common function? Eg:
procedure ParseURL(var Host, URI: string; var Port: string);
This way we can save the hassle for all the backends a
On Sat, 4 Nov 2006, Ales Katona wrote:
> Wanted to ask, how should I process the URL?
>
> Should I also understand ":" as separator for port eg:
> http://www.shit.com:3030 ?
>
> Shouldn't this be parsed by some common function? Eg:
> procedure ParseURL(var Host, URI: string; var Port: string);
On 3 Nov 06, at 20:32, ik wrote:
> On 11/3/06, Tomas Hajny <[EMAIL PROTECTED]> wrote:
> > ik wrote:
> > > On 11/3/06, Micha Nelissen <[EMAIL PROTECTED]> wrote:
> > >> Tomas Hajny wrote:
> > >> > Does anybody here have an idea how to address that issue in Unix/Linux
> > >> > environment (like an env
Let me explain the problem with more details,
consider the following code:
while true do
begin
ReadLn (S);
/// Lock Mutex
AThread:= TMyThread.Create (True);//Suspended
AThread.Prepare (S);
AThread.Resume;
///UnLock Mutex
end;
...
To understand the EnterCriticalsection, I write the followin
18 matches
Mail list logo