On Sun, Feb 24, 2008 at 7:10 PM, Alejandro Forero Cuervo
<[EMAIL PROTECTED]> wrote:
>
>  > Are these both "close-output-port"? (I guess this is a typo)
>
>  Oops, yes, sorry, that was a typo in my example.  Though, hmm,
>  shouldn't Chicken throw an error in that case?
>

Yeah, it should.

>
>  > closing both input and output ports will automatically do the
>  > process-wait for you.
>
>  Ahh, OK.  That looks good.
>
>  What happens of the port doesn't get explicitly closed by me but
>  instead gets garbage collected?  Or should I always make sure to close
>  them?
>

Yes, you should make sure to close them. There are no finalizers on the
port.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to