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 BAA07346; Mon, 9 Jun 2003 01:41:05 +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 BAA07578 for ; Mon, 9 Jun 2003 01:41:04 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from www.duonix.com ([210.113.163.221]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h58NerT25812 for ; Mon, 9 Jun 2003 01:40:56 +0200 (MET DST) Received: from hama ([192.168.0.254]) by www.duonix.com (8.12.8/8.11.6) with SMTP id h58Noanu095841; Mon, 9 Jun 2003 08:50:36 +0900 (KST) (envelope-from shoh@duonix.com) Message-ID: <004001c32e17$67aa85e0$fe00a8c0@hama> From: "SooHyoung Oh" To: "Nick Name" , References: <20030609001529.53e57c9a.nick.name@inwind.it> Subject: Re: [Caml-list] Asynchronous communication channels Date: Mon, 9 Jun 2003 08:40:54 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam: no; 0.00; caml-list:01 overwrite:01 buffer:01 bug:01 faq:01 beginner's:01 beginners:01 asynchronous:01 bin:01 caml-bugs:01 semantics:01 ocaml:01 caml:01 groups:01 rewriting:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Please check CML (Concurrent ML) in http://cml.cs.uchicago.edu/ . Event module in ocaml has the similiar functionality with CML. And you can find some examples in my web http://www.duonix.com/~shoh/ocaml/concurrent.html . Good luck to you. --- SooHyoung Oh ----- Original Message ----- From: "Nick Name" To: Sent: Monday, June 09, 2003 7:15 AM Subject: [Caml-list] Asynchronous communication channels > I need some asynchronous channels in my current project. Some of those > have to block when the maximum capacity is exceded, others are > one-position buffers wich should have overwrite semantics. Are there > already done libraries or should I roll my own? > > If I have to implement the buffer myself, what's the best way, a buffer > thread wich uses the Event module or rewriting everything from scratch > with condition variables to spare a thread? > > Thanks for attention > > Vincenzo > > ------------------- > 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 > ------------------- 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