Getting number of messages in MessageBox

Sean Kelly sean at invisibleduck.org
Mon Aug 5 16:44:15 PDT 2013


On Aug 5, 2013, at 4:18 PM, Marek Janukowicz <marek at janukowicz.net> wrote:

> I'm using std.concurrency message passing and I'd like to check which thread 
> might be a bottleneck. The easiest would be check number of messages piled 
> up for each of them, but I could not find a way to do that. Is it possible? 
> Every detail about MessageBox seems to be hidden...

Not currently.  It wouldn't be hard to add a function to get the count used by setMaxMailboxSize though.  I'll make a note to add it.


More information about the Digitalmars-d-learn mailing list