Hi all,
Thanks for your reply. So basically using threads in D for
creating multiple instances of class is actually slower.
But what does exactly means that Garbage Collector blocks? What
does it blocks and in which way?
Thanks
Hi Ali,
Thanks for your reply. But I am struggling to understand from
your example where is the code that creates or spawns new thread.
How do you create new thread and fill array with instantiated
objects in that thread?
Thanks
Hi,
I have just started to learn D. Its a great language. I am trying
to achieve the following but I am not sure is it possible or
should be done at all:
I want to have one array where I will store like 10 objects.
But I want to use 4 threads where each thread will create 25000
object