[Haskell-cafe] Number of outstanding messages in Chan or TChan

Joel Reymont joelr1 at gmail.com
Tue Dec 6 04:54:57 EST 2005


Is there a way to check the number of outstanding messages in a Chan  
or TChan?

I suspect my problem is related to not reading messages fast enough  
and I'd like to troubleshoot this by scanning my channels once every  
few seconds and dumping statistics.

	Thanks, Joel

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list