[erlang-questions] Selective receive issue

Mats Cronqvist mats.cronqvist@REDACTED
Wed Aug 6 09:51:42 CEST 2008


Vlad Dumitrescu wrote:
> Hi,
>
> On Wed, Aug 6, 2008 at 01:38, Richard A. O'Keefe <ok@REDACTED 
> <mailto:ok@REDACTED>> wrote:
>
>     On 5 Aug 2008, at 6:59 pm, Vlad Dumitrescu wrote:
>
>         It seems to me that there is no place where I can put a
>         '_->...;' clause without creating problems. So I'd like to ask
>         if anyone sees another way to structure this that will allow
>         rogue messages to be discarded.
>
>
>     "Add another process."
>
+1
>
> There is still a problem with that (albeit a small one): if tracing 
> the system with dbg, the traced processes get spurious 'timeout' 
> messages directly, regardless of any proxies trying to protect them.

  que? if so, surely that's a bug? and a pretty bad one at that.

  mats



More information about the erlang-questions mailing list