Version française
Home     About     Download     Resources     Contact us    
Browse thread
Toplevel debugging.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jérémie Dimino <jeremie@d...>
Subject: Re: [Caml-list] Toplevel debugging.
Le samedi 23 janvier 2010 à 18:29 +0100, Guillaume Yziquel a écrit :
> >> # Fatal error: exception Sys_blocked_io
> >> yziquel@seldon:~/git/mlgame$ 

It is because mlgame set stdin into non-blocking mode (file input.ml,
line 81) and the toplevel does not support that.

If you want to be able to put stdin into non-blocking mode in the
toplevel, you should install lwt and load the package lwt.unix before
mlgame.

Cheers,
Jérémie