Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] input_line is blocking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Remi VANICAT <vanicat@l...>
Subject: Re: [Caml-list] input_line is blocking
"Warp" <warplayer@free.fr> writes:

> Hi

> Perhaps something to do with bufferization ?
> If ocamlc generates too much data on stderr, then he waits for the calling
> process to read that data, but the process is currently reading on its
> stdout.... And vice-versa for ocamldep ( which generates a lot of data on
> its stdout )

yes, I believe this is the problem.

the only solution maybe to use select

-- 
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners