chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] process-wait on pid returned by process


From: felix winkelmann
Subject: Re: [Chicken-users] process-wait on pid returned by process
Date: Mon, 25 Feb 2008 07:54:59 +0100

On Sun, Feb 24, 2008 at 7:10 PM, Alejandro Forero Cuervo
<address@hidden> 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




reply via email to

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