Getting number of messages in MessageBox

Dmitry Olshansky dmitry.olsh at gmail.com
Tue Aug 6 13:27:01 PDT 2013


06-Aug-2013 03:18, Marek Janukowicz пишет:
> 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...
>

This is sadly intentional. The reasons must be due to some efficient 
concurrent queues not being able to produce reliable item count if at all.

However this seems at odds with setMaxMailboxSize ...

-- 
Dmitry Olshansky


More information about the Digitalmars-d-learn mailing list