From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA17633; Sat, 16 Oct 2004 18:26:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA17505 for ; Sat, 16 Oct 2004 18:26:31 +0200 (MET DST) Received: from mwinf0409.wanadoo.fr (smtp4.wanadoo.fr [193.252.22.27]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i9GGQVP2017824 for ; Sat, 16 Oct 2004 18:26:31 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0409.wanadoo.fr (SMTP Server) with SMTP id 15183180008B; Sat, 16 Oct 2004 18:26:31 +0200 (CEST) Received: from morgana (ARennes-303-1-20-145.w81-51.abo.wanadoo.fr [81.51.125.145]) by mwinf0409.wanadoo.fr (SMTP Server) with ESMTP id E33E018000EB; Sat, 16 Oct 2004 18:26:30 +0200 (CEST) Received: from david by morgana with local (Exim 4.34) id 1CIrNw-00018I-RZ; Sat, 16 Oct 2004 18:26:24 +0200 To: Yamagata Yoriyuki Cc: gerd@gerd-stolpmann.de, caml-list@inria.fr Subject: Re: [Caml-list] Flush behavior of baseic I/O class type References: <20041017.005256.41640390.yoriyuki@mbg.ocn.ne.jp> From: David MENTRE Organization: none Date: Sat, 16 Oct 2004 18:26:24 +0200 In-Reply-To: <20041017.005256.41640390.yoriyuki@mbg.ocn.ne.jp> (Yamagata Yoriyuki's message of "Sun, 17 Oct 2004 00:52:56 +0900 (JST)") Message-ID: <87brf2tyrz.fsf@linux-france.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 41714BB7.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 dmentre:01 yamagata:01 yoriyuki:01 yoriyuki:01 buffer:01 2004:99 dmentre:01 flush:01 writes:01 mentre:01 mentre:01 exception:02 behavior:03 undefined:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, Yamagata Yoriyuki writes: > 1) Output as far as possible, and leave the rest. > 2) raise an exception > 3) undefined. Or 4) call blocked until the whole buffer can be flushed. My personnal choice: 4, 1, 2, 3 Yours, d. PS: I've never used IO-Classes. -- pub 1024D/A3AD7A2A 2004-10-03 David MENTRE 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A ------------------- 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