[Haskell-cafe] Bringing Erlang to Haskell

Tomasz Zielonka tomasz.zielonka at gmail.com
Tue Dec 13 04:49:04 EST 2005


On Mon, Dec 12, 2005 at 04:00:46PM +0000, Joel Reymont wrote:
> One particular thing that bugs me is that I cannot really use TChan  
> for thread mailboxes. I don't think I experienced this problem with  
> Erlang but using a TChan with a logger thread quickly overwhelms the  
> logger and fills the TChan and a lot (hundreds? thousands) of other  
> threads are logging to it. 

I wonder what Erlang does to solve this problem? Perhaps we should track
the number of unprocessed messages in TChans and the bigger it is
the more favor consumers over producers.

Best regards
Tomasz

-- 
I am searching for a programmer who is good at least in some of
[Haskell, ML, C++, Linux, FreeBSD, math] for work in Warsaw, Poland


More information about the Haskell-Cafe mailing list