Send - buffer overrun

Matthias Lang matthias@REDACTED
Wed Apr 5 10:46:03 CEST 2006


 > > erlang:send_nosuspend(Dest, Msg), and

 > Wow,
 > 
 > I wonder what kind of code would use that.
 > Yikes, I couldn't send this message now, because
 > if I did I would become suspended - instead I ..
 > ... well do something else ... kindof.
 > 
 > Uhhh, advanced.

The problem pops up every time you have a TCP socket where blocking
indicates failure. In that case, the "something else" is "just close
the socket". Crops up quite often if you work with real-time data.

Matthias






More information about the erlang-questions mailing list