From: James Lamanna <jamesl@appliedminds.com>
To: caml-list@inria.fr
Subject: Unix.read always returns 0 bytes
Date: Fri, 05 Nov 2004 17:06:45 -0800 [thread overview]
Message-ID: <418C23A5.8090807@appliedminds.com> (raw)
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
reply other threads:[~2004-11-06 1:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=418C23A5.8090807@appliedminds.com \
--to=jamesl@appliedminds.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox