Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2010-01-25 (08:56)
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,
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