Hello,
1 - What happens if my constructor raise an exception? Is my destructor
automatically called?
2 - Are the class fields automatically initialized to Default(T) just like
in Delphi?
Regards
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.
Hello,
I'm writing a function protected by a critical section which can have
recursive calls under certain conditions.
Using the TCriticalSection class, after my thread acquires a critical
section, if my thread make 6 additional calls to TCriticalSection.Enter, to
release the critical section my
2017-03-25 5:40 GMT-03:00 Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org>:
> Am 24.03.2017 19:55 schrieb "Michael Van Canneyt" >:
> >
> >
> >
> > On Fri, 24 Mar 2017, African Wild Dog wrote:
> >
> >> Hello,
> >>
> >> I need to write a code compatilble with both free pascal and delphi
> On Mar 30, 2017, at 4:25 AM, fredvs wrote:
>
>>
>> how software parallelism ( in the sense of true simultaneous execution )
>> in a single process without using ( OS dependent ) threads can be achieved
>> ?
>
> Huh, it is exactly was I do not understand...
Look at an OpenCL tutorial for m
Parallelism is what hipster Node programmers do, threads are everything
else.
/jk
--
Ryan (ライアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else
http://refi64.com
On Mar 29, 2017 1:57 PM, "fredvs" wrote:
> Hello.
>
> Some developers treat me as dinosaur because I use
@Karoly Balogh (Charlie/SGR)
Perfect, I have now all the arguments to defend the "Dinosaur Threading"
choice.
Thanks.
Fre;D
-
Many thanks ;-)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Threading-vs-Parallelism-tp5728018p5728025.html
Sent from the
Hi,
On Wed, 29 Mar 2017, fredvs wrote:
> > besides hardware parallelism,
>
> Is it possible, with fpc, to assign one processor (if multi) for a
> thread and say to the system to use this one only for the thread ? But
> maybe it will gives more problems than solutions.
Yes, it's called thread/pro
> besides hardware parallelism,
Is it possible, with fpc, to assign one processor (if multi) for a thread
and say to the system to use this one only for the thread ?
But maybe it will gives more problems than solutions.
Fre;D
-
Many thanks ;-)
--
View this message in context:
http://free
> I would not pay too much attention to what these developers are saying.
Excellent idea, I will do the same ;-)
> how software parallelism ( in the sense of true simultaneous execution )
> in a single process without using ( OS dependent ) threads can be achieved
> ?
Huh, it is exactly was I
Hi,
On 29/3/2017 11:15 μμ, Michael Van Canneyt wrote:
< snip >
Showing nicely that parallelism in a single process implies threads.
I would not pay too much attention to what these developers are saying.
besides hardware parallelism, how software parallelism ( in the sense of
true simultane
On Wed, 29 Mar 2017, Dimitrios Chr. Ioannidis via fpc-pascal wrote:
Hi,
On 29/3/2017 9:57 μμ, fredvs wrote:
Hello.
Some developers treat me as dinosaur because I use threads in place of
doing
parallelism.
Huh, ok, but why parallelism is better and how to do it with fpc ?
a nice arti
Hi,
On 29/3/2017 9:57 μμ, fredvs wrote:
Hello.
Some developers treat me as dinosaur because I use threads in place of doing
parallelism.
Huh, ok, but why parallelism is better and how to do it with fpc ?
a nice article I've found long ago when I was researching the same
topic "Threading/C
Hello.
Some developers treat me as dinosaur because I use threads in place of doing
parallelism.
Huh, ok, but why parallelism is better and how to do it with fpc ?
Thanks.
Fre;D
-
Many thanks ;-)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Threading
13 matches
Mail list logo