GC pathological case behaviour
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 28 13:24:33 PDT 2016
On 6/28/16 4:12 PM, luminousone wrote:
>
> Is puts high enough latency that, that main thread can fill the message
> queue faster then start can exhaust it? If you put a call to sleep for
> 1ms in the main loop does it have the same result?
I think this is it. Your main loop is doing very little, basically just
allocating memory. The child thread is putting data to the console,
which is much more expensive.
-Steve
More information about the Digitalmars-d
mailing list