Browse thread
[Caml-list] Size limitation on input_value
-
Yaron Minsky
-
Yaron Minsky
-
Xavier Leroy
-
Yaron Minsky
- Xavier Leroy
-
Yaron Minsky
-
Xavier Leroy
-
Yaron Minsky
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <Xavier.Leroy@i...> |
| Subject: | Re: [Caml-list] Re: Size limitation on input_value |
> 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