From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: yminsky@cs.cornell.edu
Cc: Caml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Re: Size limitation on input_value
Date: Tue, 27 Jul 2004 09:41:19 +0200 [thread overview]
Message-ID: <20040727074119.GB18770@yquem.inria.fr> (raw)
In-Reply-To: <891bd33904072611144e47e57e@mail.gmail.com>
> Interesting. I can't replicate this on a stock ocaml toplevel. It
> does occur, however, on a toplevel with vmthreads compiled in.
Ah, you should have said that earlier. With vmthreads, input_value
and output_value go through an intermediate buffer which is a Caml string
(this is required because vmthreads must avoid blocking I/O system
calls, hence all I/O must be performed at the Caml level). So, the
size of the data written by output_value or read by input_value is
limited by the maximal length of a Caml string.
This limitation of vmthreads isn't new in 3.08, it's been present from
the beginning.
- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2004-07-27 7:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-22 19:41 [Caml-list] " Yaron Minsky
2004-07-26 16:48 ` [Caml-list] " Yaron Minsky
2004-07-26 17:12 ` Xavier Leroy
2004-07-26 18:14 ` Yaron Minsky
2004-07-27 7:41 ` Xavier Leroy [this message]
2004-07-27 12:04 ` Yaron Minsky
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=20040727074119.GB18770@yquem.inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=yminsky@cs.cornell.edu \
/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