[Haskell-cafe] runInteractiveCommand: program ends before writing or reading all the output

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu May 15 15:17:55 EDT 2008


Hello Olivier,

Thursday, May 15, 2008, 11:06:19 PM, you wrote:

> As I could not find a function to wait on a ThreadId I used a MVar to synchronize both threads.

> Is this normal or have I missed the `waitOnThreadId` function?

yes, it's common idiom


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list