On Thu, 26 Nov 2009 13:51:33 +0100
Jonas Maebe jonas.ma...@elis.ugent.be wrote:
On 26 Nov 2009, at 13:41, Mattias Gaertner wrote:
Allowed:
1+13
Not allowed:
(1+1)3
Are brackets not supported?
Maybe only in some modes?
I doubt it. The preprocessor parser is very limited
On Sun, 15 Nov 2009 19:33:41 +
Martin laza...@mfriebe.de wrote:
Another question
Asume the following
type
TListBase = class
protected
Procedure SetFoo(AValue: TFoo) ; virtual; abstract;
Function GetFoo: TFoo ; virtual; abstract;
public
property Foo read GetFoo
On Mon, 16 Nov 2009 00:26:52 +0200
Juha Manninen juha.manni...@phnet.fi wrote:
Hi,
I installed FPC 2.4.0 rc1 from rpm packages for OpenSuse 11.2.
I can't install the source package fpc-2.4.0-0.rc1.src.rpm though.
rpm -i fpc-2.4.0-0.rc1.src.rpm
or
rpm -i --force
On Sat, 07 Nov 2009 21:52:08 +
Martin laza...@mfriebe.de wrote:
I put 2 componets on my Form
A button named foo2
a label named Owner (case sensitive)
Now I try to set an anchorside of the Button to the Form. But because
of the Form is the Buttons Owner this is streamed as
object
On Sat, 12 Sep 2009 09:33:11 +0200
Martin Schreiber fp...@bluewin.ch wrote:
On Thursday 10 September 2009 19:42:22 Ivo Steinmann wrote:
Florian Klaempfl schrieb:
Ivo Steinmann schrieb:
1. Using =nil or Assigned should result in the same.
Afaik not, this was one of the reasons for
It seems the order of parameters in the RTTI is different for 2.5.1 on
x86_64.
On i386 it is still the same as 2.2.5.
I didn't find a flag telling me what order the RTTI is using.
Is this a bug, a feature, will i386 follow?
See TTypeData in unit typinfo: tkMethod
Mattias
On Sat, 12 Sep 2009 11:25:02 +0200
Jonas Maebe jonas.ma...@elis.ugent.be wrote:
On 12 Sep 2009, at 11:20, Mattias Gaertner wrote:
It seems the order of parameters in the RTTI is different for 2.5.1
on x86_64.
On i386 it is still the same as 2.2.5.
I didn't find a flag telling me
On Sat, 12 Sep 2009 11:54:04 +0200
Jonas Maebe jonas.ma...@elis.ugent.be wrote:
On 12 Sep 2009, at 11:49, Mattias Gaertner wrote:
On Sat, 12 Sep 2009 11:25:02 +0200
Jonas Maebe jonas.ma...@elis.ugent.be wrote:
The parameter order was simply wrong in the rtti for x86_64, afaik
On Sat, 12 Sep 2009 12:14:07 +0200
Jonas Maebe jonas.ma...@elis.ugent.be wrote:
On 12 Sep 2009, at 12:02, Mattias Gaertner wrote:
On Sat, 12 Sep 2009 11:54:04 +0200
Jonas Maebe jonas.ma...@elis.ugent.be wrote:
Previously, the order was reversed for non-i386 platforms depending
On Sat, 12 Sep 2009 16:14:05 +0200
Jonas Maebe jonas.ma...@elis.ugent.be wrote:
On 12 Sep 2009, at 15:10, Paul Ishenin wrote:
Paul Ishenin wrote:
Just tested with D2009:
TStdcallMethod = procedure(Sender: TObject; Something: LongInt)
of object; stdcall;
If it is stdcall then
On Thu, 10 Sep 2009 17:52:44 +0200
Florian Klaempfl flor...@freepascal.org wrote:
Ivo Steinmann schrieb:
1. Using =nil or Assigned should result in the same.
Afaik not, this was one of the reasons for assigned.
Are there any other reasons for assigned?
Mattias
Has someone tested threads under windows 64bit W7_64bit ?
See this bug report:
http://bugs.freepascal.org/view.php?id=14389
Mattias
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
On Thu, 20 Aug 2009 15:38:11 +0200
Bernd Mueller muelle...@gmx.net wrote:
Mattias Gaertner wrote:
Has someone tested threads under windows 64bit W7_64bit ?
See this bug report:
http://bugs.freepascal.org/view.php?id=14389
I guess the problem is not special to W7_64-bit. Windows 98
Hi all, especially Adriaan,
Has anyone implemented an OOP version of the differential tree?
Mattias
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
On Wed, 17 Jun 2009 08:34:39 +0200
Graeme Geldenhuys grae...@opensoft.homeip.net wrote:
Mattias Gaertner wrote:
And I think it be noted that parameters and calling convention can
be omitted in delphi mode and must be copied in mode objfpc.
And the reason I much prefer the objfpc mode
On Wed, 17 Jun 2009 08:59:57 +0200 (CEST)
Michael Van Canneyt mich...@freepascal.org wrote:
On Tue, 16 Jun 2009, Mattias Gaertner wrote:
From the FPC docs of the Delphi mode in the programmers guide
appendix D:
A forward declaration must not be repeated exactly the same
From the FPC docs of the Delphi mode in the programmers guide appendix
D:
A forward declaration must not be repeated exactly the same by the
implementation of a function/procedure. In particular, you not omit the
parameters when implementing the function or procedure.
Meaning? ;)
And I
On Fri, 5 Jun 2009 18:44:37 +0200 (CEST)
Daniël Mantione daniel.manti...@freepascal.org wrote:
Op Fri, 5 Jun 2009, schreef Paul Ishenin:
How difficult is to teach compiler to remove them during
compilation?
I sense a hope that somehow the compiler developments will ultimately
be
On Sat, 2 May 2009 01:45:14 +1100
Alexander Klenin kle...@gmail.com wrote:
This mail is to discuss issue
http://bugs.freepascal.org/view.php?id=13630.
From the issue description:
Given the definitions:
type
T1 = class
procedure SetP(AP: Integer); virtual;
property P:
On Sat, 2 May 2009 02:17:48 +1100
Alexander Klenin kle...@gmail.com wrote:
On Sat, May 2, 2009 at 01:56, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
4) If it has setter named SetP, do the equivalent of inherited
SetP.
Why?
Because this surprises developers and leads to bugs
On Sat, 2 May 2009 02:57:49 +1100
Alexander Klenin kle...@gmail.com wrote:
On Sat, May 2, 2009 at 02:39, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
On Sat, 2 May 2009 02:17:48 +1100
Alexander Klenin kle...@gmail.com wrote:
Because this surprises developers and leads to bugs
On Sat, 28 Feb 2009 09:57:05 +0100
Martin Schreiber fp...@bluewin.ch wrote:
On Friday 27 February 2009 15:17:29 Paul Ishenin wrote:
How this solved by mseide developers?
MSEgui uses includefiles for headers in platform specific units
(msesysintf.pas, mseguiintf.pas) only, so there are not
On Tue, 3 Feb 2009 09:39:58 +0100 (CET)
Michael Van Canneyt mich...@freepascal.org wrote:
On Tue, 3 Feb 2009, Vincent Snijders wrote:
Graeme Geldenhuys schreef:
On Tue, Feb 3, 2009 at 9:02 AM, Vincent Snijders
vsnijd...@vodafonevast.nl wrote:
I am a Lazarus developer, and I
On Fri, 19 Dec 2008 16:48:22 +0100
Inoussa OUEDRAOGO inouss...@gmail.com wrote:
Hi,
A discussion started a month or two ago about the thread safety issue
concerning XML DOM, issue due to avl_tree.pp implementation.
There were 3 propositions :
1 - Inoussa OUEDRAOGO :
Another
On Thu, 4 Dec 2008 11:59:40 +0100
Jonas Maebe [EMAIL PROTECTED] wrote:
[...]
Unless it's already signalled, then it should run right through.
It was changed in 2.2.0:
http://wiki.freepascal.org/User_Changes_2.2.0#RTLEvent_persistence
Thanks.
Michael, can you add that hint to the
On Wed, 03 Dec 2008 19:41:12 +0100
Vinzent Höfler [EMAIL PROTECTED] wrote:
Mattias Gärtner wrote:
The situation:
There are m threads working in parallel on n chunks of work (n=m).
The n chunks are indexed 0..n-1.
Sometimes one thread needs the result of some of the lower indexed
On Wed, 03 Dec 2008 15:41:55 +
Martin Friebe [EMAIL PROTECTED] wrote:
Mattias Gärtner wrote:
Hi all,
I'm looking for a high performance 'wait-for'.
The situation:
There are m threads working in parallel on n chunks of work (n=m).
The n chunks are indexed 0..n-1.
Sometimes one
On Mon, 01 Dec 2008 16:36:23 +0100
Florian Klaempfl [EMAIL PROTECTED] wrote:
[...] Martin Friebe schrieb:
I can not see how I can interpret RtlString[1]. If the result is
bigger than 128, then I must know what type it is. If it is ANSI,
it is a single byte char. If it is utf8, it is a
On Mon, 01 Dec 2008 15:06:45 +
Martin Friebe [EMAIL PROTECTED] wrote:
Florian Klaempfl wrote:
[...]
My opinion is that it should be the programmers choice. I a
programmer wants or needs a simpler way (keeping all the strings in
is application in one format, which will be known to him)
On Mon, 01 Dec 2008 20:40:14 +0100
Florian Klaempfl [EMAIL PROTECTED] wrote:
Mattias Gaertner schrieb:
On Mon, 01 Dec 2008 16:36:23 +0100
Florian Klaempfl [EMAIL PROTECTED] wrote:
[...] Martin Friebe schrieb:
I can not see how I can interpret RtlString[1]. If the result is
bigger
On Mon, 1 Dec 2008 20:44:32 +0100 (CET)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
In our previous episode, Mattias Gaertner said:
I see this as a theoretic consideration. Please give a real world
(!) code example when this causes a problem.
Can you give a real world example
On Mon, 1 Dec 2008 17:53:58 -0200
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:
On Mon, Dec 1, 2008 at 5:50 PM, Marco van de Voort [EMAIL PROTECTED]
wrote:
You did nail a big problem though, and a weakness in Delphi's
design. What to do with classes that are used both straight and in
On Mon, 1 Dec 2008 21:07:50 +0100 (CET)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
In our previous episode, Felipe Monteiro de Carvalho said:
You did nail a big problem though, and a weakness in Delphi's
design. What to do with classes that are used both straight and
in the GUI?
On Mon, 1 Dec 2008 18:45:46 -0200
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:
On Mon, Dec 1, 2008 at 6:38 PM, Marco van de Voort [EMAIL PROTECTED]
wrote:
In our previous episode, Graeme Geldenhuys said:
IOW, you give the programmer the choice about the type, instead of
forcing
On Mon, 1 Dec 2008 18:35:26 -0200
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:
On Mon, Dec 1, 2008 at 6:22 PM, Mattias Gaertner
[EMAIL PROTECTED] wrote:
Compatibility was always the bigger goal for lazarus. IMHO a
TLCLStrings breaks more than it would solve.
You mean
On Mon, 01 Dec 2008 21:50:11 +
Martin Friebe [EMAIL PROTECTED] wrote:
Mattias Gaertner wrote:
[...]
Yes I agree, and said so before: If a rtl function is going to pass
on the data to the OS, and conversation is always needed, then no
overloading is needed. Use RTLString
On Mon, 1 Dec 2008 21:23:34 +0100 (CET)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
In our previous episode, Mattias Gaertner said:
In our previous episode, Mattias Gaertner said:
I see this as a theoretic consideration. Please give a real
world (!) code example when
On Fri, 28 Nov 2008 21:25:16 +0100
darekm [EMAIL PROTECTED] wrote:
Hi
Are in FPC some instruction set contains streaming SIMD (SSE) like
in GCC:
http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/X86-Built_002din-Functions.html
or in Microsoft Visual
On Sat, 22 Nov 2008 23:05:43 +0200
listmember [EMAIL PROTECTED] wrote:
Is there a way to determine how much memory is consumed by strings by
a running application?
I'd like to know this, in particular, for FPC ana Lazarus --to begin
with.
And, the reason I'd like to know this is this:
On Sun, 23 Nov 2008 10:31:39 +0200
listmember [EMAIL PROTECTED] wrote:
[...]
What I had in mind wasn't to store the string data in UTF-32 (or
UCS-4); it would still be UTF-8 or whatever.
I am only considering in memory representation being UTF-32 (or
UCS-4).
What do you mean with 'memory
On Sun, 23 Nov 2008 11:09:25 +0200
listmember [EMAIL PROTECTED] wrote:
I am only considering in memory representation being UTF-32 (or
UCS-4).
What do you mean with 'memory representation'?
That, each char in a string in memory would be 4-bytes (or more);
yet, when saved on disk (or
On Sun, 23 Nov 2008 13:05:15 +0200
listmember [EMAIL PROTECTED] wrote:
On 2008-11-23 12:50, Jonas Maebe wrote:
On 23 Nov 2008, at 11:29, listmember wrote:
It is not hard to tell that an app that works with text files
(such as Lazarus) will consume 4 times more memory per file
loaded.
On Sun, 23 Nov 2008 12:37:32 +0100
Martin Schreiber [EMAIL PROTECTED] wrote:
On Sunday 23 November 2008 09.26:35 Graeme Geldenhuys wrote:
On Sun, Nov 23, 2008 at 10:19 AM, Mattias Gaertner
[EMAIL PROTECTED] wrote:
On Sat, 22 Nov 2008 23:05:43 +0200
For example the lazarus IDE
On Sun, 23 Nov 2008 14:11:50 +0200
listmember [EMAIL PROTECTED] wrote:
[...]
For very large projects, that should probably be done anyway at some
point. But even in that case, using a more memory-efficient string
type enables you to keep more data in memory and hence potentially
obtain
On Sun, 23 Nov 2008 13:35:07 +0200
listmember [EMAIL PROTECTED] wrote:
Do a 'find declaration' on an identifier, that does not exist. This
will explore all units of the uses section.
Now I see what you mean.
But, isn't this a design-choice; caching all sources in memory for
speed
On Sun, 23 Nov 2008 13:49:32 +0100 (CET)
Daniël Mantione [EMAIL PROTECTED] wrote:
Op Sun, 23 Nov 2008, schreef Jonas Maebe:
On 23 Nov 2008, at 13:31, Daniël Mantione wrote:
For an IDE, this is a little bit more complicated. I.e. searching
for a ç in a source file needs to find
On Tue, 11 Nov 2008 15:43:24 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
We were talking of a world where strings consist of widechars, not
about the current Lazarus, weren't we?
I'm not sure. Of course WideStrings and WideChars are easier to be
used, as in Europe and America problems
On Mon, 10 Nov 2008 15:04:01 -0200
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:
On Mon, Nov 10, 2008 at 1:48 PM, Michael Schnell [EMAIL PROTECTED]
wrote:
, ... There are not _slow_ functions that do the expected versions
of s[i], pos(s), copy(), delete(), ... (I've yet to find out
On Thu, 23 Oct 2008 08:53:27 +0200 (CEST)
Peter Vreman [EMAIL PROTECTED] wrote:
On Wed, 22 Oct 2008 10:32:36 +0200 (CEST)
Peter Vreman [EMAIL PROTECTED] wrote:
As of version 2.3.1, the compiler by itself indicates all the
various features it supports with FPC_HAS_FEATURE_XXX defines.
On Fri, 17 Oct 2008 19:03:43 +0200
Mattias Gaertner [EMAIL PROTECTED] wrote:
Can someone explain the new FPC system layout?
I find out so far:
In rtl/inc/systemh.inc there is
{$ifndef FPC_HAS_FEATURE_SUPPORT}
...
{$define FPC_HAS_FEATURE_CLASSES}
...
{$ENDIF}
Because FPC 2.3.1
Can someone explain the new FPC system layout?
I find out so far:
In rtl/inc/systemh.inc there is
{$ifndef FPC_HAS_FEATURE_SUPPORT}
...
{$define FPC_HAS_FEATURE_CLASSES}
...
{$ENDIF}
Because FPC 2.3.1 defines FPC_HAS_FEATURE_SUPPORT the above is never
executed and therefore
On Mon, 6 Oct 2008 19:09:23 +0200 (CEST)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Mon, 6 Oct 2008, Marco van de Voort wrote:
In our previous episode, Tom Verhoeff said:
I don't want to wake up sleeping dogs, but while updating various
slides to base them on
On Sun, 28 Sep 2008 09:23:14 +0200
Martin Schreiber [EMAIL PROTECTED] wrote:
On Sunday 28 September 2008 00.10:43 Graeme Geldenhuys wrote:
On Fri, Sep 26, 2008 at 5:02 PM, Mattias Gaertner
[EMAIL PROTECTED] wrote:
s[i]:='x' doesn't work in UTF-8, nor UTF-16, nor UTF-32.
In short
On Fri, 26 Sep 2008 13:20:57 +0200
Michael Schnell [EMAIL PROTECTED] wrote:
Nonetheless a type to hold a single character needs to exist. And
same needs to be a 32 bit type if you want to store more than 2^16
different values (as possible with UTF-8 and UTF-16 but not with
UCS-2.
Some
On Fri, 19 Sep 2008 10:13:21 -0700
ABorka [EMAIL PROTECTED] wrote:
This is how currently the code looks like for the problematic call:
FCriticalSection.Enter;
try
if (FMaxRequests0) and (FWorkingWebModules.Count=FMaxRequests)
then Raise EFPApacheError.Create(SErrTooManyRequests);
if
On Thu, 11 Sep 2008 22:56:49 +0200
Martin Schreiber [EMAIL PROTECTED] wrote:
[...]
Doesn't that mean we will be --by design-- unable to write something
like 'Yom Kippur (יוֹם כִּפּוּר)' on a caption?
Yes and more. See below.
This is why I keep asking that the 'TCharacter' or 'TChar'
On Wed, 13 Aug 2008 21:29:59 +0200 (CEST)
Daniël Mantione [EMAIL PROTECTED] wrote:
Op Wed, 13 Aug 2008, schreef Vincent Snijders:
Daniël Mantione schreef:
Op Wed, 13 Aug 2008, schreef Vincent Snijders:
It easier to change the message parser if you change it, than to
design a
On Fri, 8 Aug 2008 14:57:36 +0200
Henri Gourvest [EMAIL PROTECTED] wrote:
Because of this:
AVL_MAX_DEPTH = sizeof(longint) * 8;
= 32 in all cases, I know and It is not a problem.
At least not now. But eventually it should be changed to
AVL_MAX_DEPTH = sizeof(PtrInt) * 8;
Mattias
On Thu, 07 Aug 2008 18:04:32 +0200
Micha Nelissen [EMAIL PROTECTED] wrote:
Inoussa OUEDRAOGO wrote:
- TAVLManagedTree that uses a node mem manager provided in the
constructor. The developer using this one is _aware_ of the thread
safety issue and can then provide a thread safe node mem
On Wed, 6 Aug 2008 19:41:27 +0100
Inoussa OUEDRAOGO [EMAIL PROTECTED] wrote:
Hi,
TAVLTree in avl_tree.pp is not thread safe due to the node
allocation and de-allocation done through the global
declared NodeMemManager variable. TAVLTreeNodeMemManager
implementation is cleary not thread
On Thu, 31 Jul 2008 11:02:28 +0200
Florian Klaempfl [EMAIL PROTECTED] wrote:
Before we discuss endless about useless stuff, I'll make a proposal
for a first addition: support of the synchronized keyword. It does no
more than protecting a procedure automatically by a critical section
so only
On Thu, 31 Jul 2008 07:33:16 -0700
Boian Mitov [EMAIL PROTECTED] wrote:
You can download the 3.1 version of OpenWire from www.openwire.org .
It still uses the MultiReads. I have a new version that compiles
under Lazarus, although the editors are not fully functional under
GTK in Linux yet.
On Thu, 31 Jul 2008 16:22:01 +0200
Graeme Geldenhuys [EMAIL PROTECTED] wrote:
On Thu, Jul 31, 2008 at 2:59 PM, Boian Mitov [EMAIL PROTECTED] wrote:
Hmm... it looks almost one to one copy from our code in Version
4.0 of our libraries ;-) . Are you one of our customers, or you
have simply
On Wed, 16 Jul 2008 15:05:44 -0500
Sean McIlwain [EMAIL PROTECTED] wrote:
I'm getting a Error: Incompatible Types: got untyped expected
procedure variable type of procedure(Pointer);Register when
compiling the following code. This happens when using default
parameter values.
Here is an
On Sat, 26 Apr 2008 10:52:49 +0200
Vincent Snijders [EMAIL PROTECTED] wrote:
Graeme Geldenhuys schreef:
Hi,
Why does TCustomApplication derive from TComponent instead of
TObject? What is the reason behind this? Is there any benefits
unknown to me? Surely we never need to persist the
In the LCL there is documentation for TControl.Caption which is useful
for all descendant classes like TButton.Caption too. It would be nice
if fpdoc shows the content of TControl.Caption if TButton.Caption does
not have a value or at least show a link to the inherited entries.
Comments?
On Fri, 15 Feb 2008 09:34:39 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
Can you send me the patch so far?
I'm (still) not familiar with diff / patch files, but it's really
such a tiny difference that I easily can tell it in English ( :) ):
in ide/lazconf.pp I added at the end of
On Fri, 15 Feb 2008 10:25:11 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
The IDE does not compile the LCL automatically, so the
interfaces.ppu was not created. You can compile the new widgetset
with 'configure build lazarus'.
I just tried to do clean up and build all in
On Fri, 15 Feb 2008 11:39:06 +0100
[EMAIL PROTECTED] wrote:
From: Michael Schnell [EMAIL PROTECTED]
Vincent Snijders wrote:
You have lot's of questions and the few hints I gave don't seem
to be
enough. Maybe it is better if I try to find some time to write a
wiki
article.
On Fri, 15 Feb 2008 11:58:25 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
I will write some info.
OK, so right now I will not try this with my very limited knowledge.
Makefiles are for pascal programmers a strange thing.
I'm crossing fingers, that the fp package system matures, so
On Fri, 1 Feb 2008 19:12:19 +0100
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:
On Feb 1, 2008 6:58 PM, Graeme Geldenhuys [EMAIL PROTECTED]
wrote:
I might have asked this before, but why doesn't the h2pas tool put
in the correct parameter names in the first place? I'm sure there
On Wed, 02 Jan 2008 11:34:54 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
Supposedly ? No, this is not correct. You install once and
recompile as much as needed, that's it.
So you suggest on a future (not too unusual) visual component that
all testing can be done before having it (or
On Mon, 17 Dec 2007 09:41:43 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
IMHO the language itself might be enhanced for parallel processing.
The implementation should be done in the RTL (or supposedly rather a
special library). Here the methods of distributing potentially
parallel tasks
On Mon, 17 Dec 2007 11:58:15 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
For clusters there is already a de facto standard: MPI. It works
with FPC.
AFAIK OpenMP and MPI work well together and are separate.
Right now my concerns are not about how and what features should be
On Fri, 14 Dec 2007 10:29:59 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
Mattias Gaertner wrote:
Has someone already created a unit for light weight threads?
What do you mean by light weight threads ? How can it get lighter
than TThread, that offers close to no built-in
comfort
On Fri, 14 Dec 2007 12:40:41 +0100 (CET)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
You still can implement such thread pools on top of OpenMP(I) (or
similar APIs), if you need to get much lighter. ;)
Afaik there are threadpool classes in Indy, and they work.
Thanks. I will take a
On Fri, 14 Dec 2007 15:13:57 +0100
Florian Klaempfl [EMAIL PROTECTED] wrote:
Mattias Gaertner schrieb:
See the OpenMP specs for more possible tuning parameters.
The pool can be extended by some of these abilities later, but for
now I only need a simple pool to demonstrate/test FPC
On Fri, 14 Dec 2007 12:36:51 +
Mark Morgan Lloyd [EMAIL PROTECTED] wrote:
Mattias Gaertner wrote:
On Fri, 14 Dec 2007 10:29:59 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
Mattias Gaertner wrote:
Has someone already created a unit for light weight threads?
What do you
On Fri, 14 Dec 2007 15:40:03 +0100
Vincent Snijders [EMAIL PROTECTED] wrote:
Michael Van Canneyt schreef:
On Fri, 14 Dec 2007, Vincent Snijders wrote:
How I can specify a source file with spaces in the directory name?
If I recall correctly, I once sent you a patch for process.pp
On Fri, 14 Dec 2007 17:11:15 +
Mark Morgan Lloyd [EMAIL PROTECTED] wrote:
Mattias Gaertner wrote:
When starting a procedure 100 times, the pool will add 100 tasks
and wake up the sleeping threads. The threads will then process the
tasks. There is no guarantee that a task will run
Has someone already created a unit for light weight threads?
Something like: Create a group of 4 threads named 0,1,2,3 and execute a
procedure/method?
Mattias
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
On Tue, 11 Dec 2007 19:24:59 +0100 (CET)
Daniël Mantione [EMAIL PROTECTED] wrote:
Op Tue, 11 Dec 2007, schreef Mark Morgan Lloyd:
Florian Klaempfl wrote:
It is common in the scientistware I benchmark daily. The evil
geniuses parallelize their applications by placing a some
On Mon, 10 Dec 2007 12:54:18 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
OpenMP is about lightweight threads. The 'thread events' proposal is
the opposite: normal threads+events queues.
Of course you are right here.
IMHO the parallel idea is hard to implement, as the compiler needs
On Sun, 9 Dec 2007 12:11:05 +0100
Jonas Maebe [EMAIL PROTECTED] wrote:
On 09 Dec 2007, at 04:54, Paul Ishenin wrote:
What for lazarus have package datadict if even recent fpc doesnot
make some dependencies by default?
For example fcl-dc\src\codegen is not in makefile.
I figured
On Mon, 03 Dec 2007 15:06:53 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
Here is a start:
http://wiki.lazarus.freepascal.org/OpenMP_support
Thanks for the link.
I'll add my thread event idea as another proposal.
Interesting idea.
OpenMP is about lightweight threads. The
On Mon, 3 Dec 2007 10:16:17 +0100
Helmut Hartl [EMAIL PROTECTED] wrote:
[...]
Also Open-MPI sounds very interesting. But i fear a no brain
solution API for developers does not exist -
and without digging deeper into the problems of that field someone
would have many hours of time searching
On Mon, 03 Dec 2007 11:47:10 +0100
Michael Schnell [EMAIL PROTECTED] wrote:
There are implementations of parallel and sequential sections in
some programming languages. Of course FPGA description languages like
VHDL or Verilog do this from ground up, but there are also C derivate
s that
On Fri, 30 Nov 2007 13:22:54 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Fri, 30 Nov 2007, Paul Ishenin wrote:
Michael Van Canneyt wrote:
No-one. The DLL must be recompiled anyway if you use packages.
And this is also true if you use interfaces, so using interfaces
Lazarus has the IDEIntf, the API for IDE plugins.
What is better in this case: classes or interfaces?
What if someday there are packages?
What if someday there is a closed source dll plugin?
Mattias
___
fpc-devel maillist -
On Sun, 25 Nov 2007 10:49:02 +0100
Martin Schreiber [EMAIL PROTECTED] wrote:
[...]
http://groups.google.ch/group/borland.public.delphi.non-technical/msg/7caeced42f1934a4?hl=en;
The text mentions 'IntPtr' for FPC's 'PtrInt'.
Oh boy, they really want to be FPC incompatible. ;)
Mattias
On Tue, 20 Nov 2007 12:40:41 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:
* Mattias Gaertner [EMAIL PROTECTED] [Tue, 20 Nov 2007
01:14:27 +0100]:
On Tue, 20 Nov 2007 00:08:20 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:
* Andrey Gusev [EMAIL PROTECTED] [Fri, 16 Nov 2007 17:35:26
+0300
On Tue, 20 Nov 2007 14:17:14 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:
* Mattias Gaertner [EMAIL PROTECTED] [Tue, 20 Nov 2007
10:55:49 +0100]:
On Tue, 20 Nov 2007 12:40:41 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:
* Mattias Gaertner [EMAIL PROTECTED] [Tue, 20 Nov 2007
01:14:27
On Tue, 20 Nov 2007 00:08:20 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:
* Andrey Gusev [EMAIL PROTECTED] [Fri, 16 Nov 2007 17:35:26 +0300]:
Can anybody explain to me, why dynamically created forms with
TApplicationProperties.OnIdle(),
incline to AV ???
Because the destructor was
On Sat, 17 Nov 2007 10:12:30 -0200
Steve Howe [EMAIL PROTECTED] wrote:
Hello all,
While using the daemonapp.pp unit to code a daemon, I've found that
applications that it eat 100% of the CPU. After tracking and
debugging, I've found out that the problem is in the daemonapp's
On Fri, 16 Nov 2007 13:37:29 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:
* Mattias Gaertner [EMAIL PROTECTED] [Fri, 16 Nov 2007
00:29:26 +0100]:
Please give feedback in the bug tracker, what part of the bug is
still open.
How i can make give back the previous read units behaviour
On Fri, 16 Nov 2007 12:50:00 +0200
Graeme Geldenhuys [EMAIL PROTECTED] wrote:
[...]
* FPC 2.2.0 under Linux (Ubuntu 7.10)
[EMAIL PROTECTED]:Demo$ ./performancetest
2029 iterations in 5 seconds (no reference counting)
3185 iterations in 5 seconds (reference counting)
2469 iterations in 5
On Fri, 16 Nov 2007 14:34:03 +0300
Sergei Gorelkin [EMAIL PROTECTED] wrote:
Graeme Geldenhuys wrote:
No idea?? They seem to fluctuate after each run, but the overall
result (which tests are faster) are always constant. Have a look at
the code, if there is a better way of testing this.
On Fri, 16 Nov 2007 14:27:50 +0200
Graeme Geldenhuys [EMAIL PROTECTED] wrote:
On 16/11/2007, Luiz Americo Pereira Camara [EMAIL PROTECTED]
wrote:
A single program like the below leaks memory. To the object be
freed automatically is necessary to declare Obj as IUnknown.
I wonder if your
On Fri, 16 Nov 2007 14:17:46 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:
* Mattias Gaertner [EMAIL PROTECTED] [Fri, 16 Nov 2007
11:44:26 +0100]:
Can you send me the debug log and tell me the file structure?
The --debug-out result is empty (i.e. namely the log file was not
created
On Thu, 15 Nov 2007 13:04:06 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:
I have ask to all at once.
==
* Mattias Gaertner [EMAIL PROTECTED] [Thu, 15 Nov 2007
You don't need to add every unit to a project or package. It is
sufficient to add the the directories
401 - 500 of 611 matches
Mail list logo