* Unix.read always returns 0 bytes
@ 2004-11-06 1:06 James Lamanna
0 siblings, 0 replies; only message in thread
From: James Lamanna @ 2004-11-06 1:06 UTC (permalink / raw)
To: caml-list
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), Unix.read 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-06 1:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06 1:06 Unix.read always returns 0 bytes James Lamanna
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox