Thanks! But, when trying to implement your solution, I recalled hWaitForInput 
and used it to
implement the alarm. Anyway, thanks, probably I will need that for other 
programas.

Antonio

> The getLine function ties up stdin. So the system function isn't
> able to proceed until getLine completes, even when it is in
> another thread.
> 
> Try using System.Process.runInteractiveProcess instead of system.
> Don't forget to call waitForProcess on the process handle
> when you are finished, or you will be left with a zombie.
> 
> Hope this helps,
> Yitz




      ______________________________________________ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to