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 always returns 0 bytes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: James Lamanna <jamesl@a...>
Subject: always returns 0 bytes
I just recently installed ocaml3.08.0 on a new Athlon64 system under a 2.6.9 linux kernel.
I'm trying to read from a file descriptor provided by the Linux event interface.
However, I've noticed that once I send one event (from a joystick in this case), continually
returns 0 bytes for forever (select() even returns that the descriptor can be read).

The corresponding C program does not exhibit this behavior.

Any suggestions/fixes on why Ocaml is doing this?

Thank you.

Please CC me for I am not subscribed.

James Lamanna