chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Weird behaviour in process / output / close-output-p


From: Alejandro Forero Cuervo
Subject: Re: [Chicken-users] Weird behaviour in process / output / close-output-port
Date: Thu, 1 Jun 2006 12:05:07 -0500
User-agent: Mutt/1.5.9i

> I can't reproduce this problem. I'll get lots of error
> messages and finally a "too many open files".

Maybe its because of the (hypothetical) race condition?
What happens if you (sleep 1) before (newline out), as in the
following?

    (use posix)

    (let loop ()
      (receive (in out pid)
               (process "foo")
        (sleep 1)
        (newline out))
      (loop))

Hmm.

Alejo.
http://azul.freaks-unidos.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]