Mattias Gaertner schrieb:
On Wed, 19 Aug 2009 20:52:41 +0200
Florian Klaempfl flor...@freepascal.org wrote:
Mattias Gaertner schrieb:
You can create a thread call for local procedures, it needs some
hacking though: no type checking is possible, you've to work with
pointers and pass the
Zitat von Jan Kowalski bor...@gmail.com:
I need to call ProcThreadPool.DoParallel with local procedure as a
parameter.
Does DoParallel allow local procedures to pass a procedural parameters ?
I get err: Error:
Incompatible type for arg no. 1: Got address of local
Mattias Gärtner wrote:
Zitat von Jan Kowalski bor...@gmail.com:
I need to call ProcThreadPool.DoParallel with local procedure as a
parameter.
Does DoParallel allow local procedures to pass a procedural parameters ?
I get err: Error:
Incompatible type for arg no. 1: Got address of local
Martin schreef:
Mattias Gärtner wrote:
Zitat von Jan Kowalski bor...@gmail.com:
I need to call ProcThreadPool.DoParallel with local procedure as a
parameter.
Does DoParallel allow local procedures to pass a procedural parameters ?
I get err: Error:
Incompatible type for arg no. 1: Got address
Zitat von Vincent Snijders vsnijd...@vodafonevast.nl:
Martin schreef:
Mattias Gärtner wrote:
Zitat von Jan Kowalski bor...@gmail.com:
I need to call ProcThreadPool.DoParallel with local procedure
as a parameter.
Does DoParallel allow local procedures to pass a procedural parameters ?
I get
Mattias Gärtner wrote:
Zitat von Vincent Snijders vsnijd...@vodafonevast.nl:
Martin schreef:
Mattias Gärtner wrote:
Zitat von Jan Kowalski bor...@gmail.com:
I need to call ProcThreadPool.DoParallel with local procedure as
a parameter.
Does DoParallel allow local procedures to pass a
Mattias Gärtner schrieb:
Zitat von Vincent Snijders vsnijd...@vodafonevast.nl:
Martin schreef:
Mattias Gärtner wrote:
Zitat von Jan Kowalski bor...@gmail.com:
I need to call ProcThreadPool.DoParallel with local procedure as
a parameter.
Does DoParallel allow local procedures to pass a
On Wed, 19 Aug 2009 17:33:59 +0200
Florian Klaempfl flor...@freepascal.org wrote:
Mattias Gärtner schrieb:
Zitat von Vincent Snijders vsnijd...@vodafonevast.nl:
Martin schreef:
Mattias Gärtner wrote:
Zitat von Jan Kowalski bor...@gmail.com:
I need to call ProcThreadPool.DoParallel
Mattias Gaertner schrieb:
You can create a thread call for local procedures, it needs some
hacking though: no type checking is possible, you've to work with
pointers and pass the context explicitly.
Can you give an example?
See