From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 4E15DBB9A for ; Wed, 9 Nov 2005 13:17:53 +0100 (CET) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jA9CHonC011775 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 9 Nov 2005 13:17:51 +0100 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1EZpCq-0002zu-00; Wed, 09 Nov 2005 12:37:36 +0000 Date: Wed, 9 Nov 2005 12:37:36 +0000 To: Jonathan Bryant Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] The best way to circumvent the lack of Thread.kill ? Message-ID: <20051109123736.GA9315@furbychan.cocan.org> References: <43688C4C.2080606@inria.fr> <1130943226.4565.11.camel@calaf.rn.informatics.scitech.susx.ac.uk> <4368E835.7090501@barettadeit.com> <1130950809.4565.42.camel@calaf.rn.informatics.scitech.susx.ac.uk> <436908B9.8080001@barettadeit.com> <1130956143.6564.17.camel@titania> <1131482174.6590.23.camel@starlight> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1131482174.6590.23.camel@starlight> User-Agent: Mutt/1.3.28i From: Richard Jones X-Miltered: at nez-perce with ID 4371E8EE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 threads:01 api:01 notepad:01 tar:01 wrote:01 thread:02 thread:02 confusing:02 module:03 module:03 explanation:03 interface:05 implement:05 quite:06 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Tue, Nov 08, 2005 at 03:36:15PM -0500, Jonathan Bryant wrote: > First of all, what is going on in the Event module? I can't exactly get > it to work an I fear I'm missing some important concept. I can't find > any documentation other than the interface. Does anybody know of any > further documeeentation or have a good explanation of exactly what's > going on. Yes, the Event module is quite confusing. I have used it in this code (in the file adwords_mt.ml) to implement a simple command pipe between a parent thread and worker threads, so you might want to download and take a look at this code: http://merjis.com/developers/adwords_api http://merjis.com/_file/adwords-api-1.0.6.tar.gz Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com