From: Yaron Minsky <yminsky@gmail.com>
To: Xavier Leroy <xavier.leroy@inria.fr>
Cc: Caml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Re: Size limitation on input_value
Date: Tue, 27 Jul 2004 08:04:46 -0400 [thread overview]
Message-ID: <891bd33904072705044e31a2b6@mail.gmail.com> (raw)
In-Reply-To: <20040727074119.GB18770@yquem.inria.fr>
My apologies. I only realized that we'd added the -vmthread flag
after you pointed out that you couldn't reproduce the problem.
Thanks,
Yaron
On Tue, 27 Jul 2004 09:41:19 +0200, Xavier Leroy <xavier.leroy@inria.fr> wrote:
> > 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
prev parent reply other threads:[~2004-07-27 12:04 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
2004-07-27 12:04 ` Yaron Minsky [this message]
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=891bd33904072705044e31a2b6@mail.gmail.com \
--to=yminsky@gmail.com \
--cc=caml-list@inria.fr \
--cc=xavier.leroy@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