std.concurrency.setMaxMailboxSize

rikki cattermole rikki at cattermole.co.nz
Wed Oct 11 11:26:11 UTC 2017


On 11/10/2017 12:09 PM, RazvanN wrote:
> Hi all,
> 
> I have seen that the concurrency api has this method specified in $title 
> [1] and I was wondering what is the use of it? Enabling threads to 
> modify the message box of other threads doesn't seem to be a good idea 
> and I can't think of any real use case.
> 
> Best regards,
> RazvanN
> 
> [1] https://dlang.org/phobos/std_concurrency.html#.setMaxMailboxSize

Main controlling thread setting child threads?

Otherwise I don't remember the last time it was mentioned, so I'd say 
leave it be :)


More information about the Digitalmars-d-learn mailing list