[dmd-concurrency] draft 5
Sean Kelly
sean at invisibleduck.org
Tue Jan 19 20:44:28 PST 2010
On Jan 19, 2010, at 10:00 AM, Andrei Alexandrescu wrote:
> Steve Schveighoffer wrote:
>
>> The bit about doing the setMailboxSize right after calling spawn is a
>> little disconcerting to me, do you think it might be possible spawn a
>> thread in suspended mode (i.e. don't start it right away)? I think
>> there are probably other reasons you may want to configure the tid or
>> set up some kind of framework before letting the thread start for a
>> more controlled startup procedure.
>
> Yah, there will most likely be a way to start a thread suspended. In this case it's not crucial because you should be able to set its mailbox size while running.
It's easy enough to use messaging to start a thread suspended anyway, at least until a built-in option is provided.
More information about the dmd-concurrency
mailing list