From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 76060BC6C for ; Fri, 8 Feb 2008 17:33:09 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAEgTrEdIDszqfGdsb2JhbACQNQEBCQQFCggRlWmFUg X-IronPort-AV: E=Sophos;i="4.25,322,1199660400"; d="scan'208";a="22412583" Received: from qb-out-0506.google.com ([72.14.204.234]) by mail4-smtp-sop.national.inria.fr with ESMTP; 08 Feb 2008 17:33:08 +0100 Received: by qb-out-0506.google.com with SMTP id e11so6318319qbe.15 for ; Fri, 08 Feb 2008 08:33:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Fhs6PmdR4MdAUfRorKX7VslFV4b92iIvGBZ4PB7pSOA=; b=aXIqOKFdSUtlGIAnBWsExKoKzlOeTmKLbLv7lLZtEDQiy33cjkJEI2GBDlMsAevjAXhoRoRZ9RyAlMIYtzgeKHulDe+uOkJ7gw1FaTMDjyzgE5W0Uzi6Ov7hdkvxkqSew3KQEzDal46yJ/d6e0JaWBG4qbcjnPsfHND7FwOT6fM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IzuLQqS+9AnVHz/kmXCmftf3/FDc70m4Oj2WzXpphwR//kgN/kfD/GxLaTzQQYC33DKOoZXNmKLLQD1Ff+vTgCMpIh0uw5urkBUOWewD+qa3g7gfX93eml1z9t86zTQZeSSrRoXC3sOYALUEaEmhA8J3i7ZsLnF4m+Z0SdB0qrQ= Received: by 10.110.43.18 with SMTP id q18mr7405113tiq.23.1202488385701; Fri, 08 Feb 2008 08:33:05 -0800 (PST) Received: by 10.110.26.14 with HTTP; Fri, 8 Feb 2008 08:33:05 -0800 (PST) Message-ID: <90823c940802080833v65e17a32gc8641890071da8fb@mail.gmail.com> Date: Fri, 8 Feb 2008 19:33:05 +0300 From: "Dmitry Bely" To: "Kuba Ober" Subject: Re: [Caml-list] Ocaml debugger under Windows Cc: caml-list@yquem.inria.fr In-Reply-To: <200802080827.03382.ober.14@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <90823c940802050146u7cac0aape4e72b4fc6a3089@mail.gmail.com> <47A83251.7010306@frisch.fr> <90823c940802050923h77a95192gdabcd9c0807dccd6@mail.gmail.com> <200802080827.03382.ober.14@osu.edu> X-Spam: no; 0.00; ocaml:01 debugger:01 async:01 wrote:01 unix:01 dmitry:01 dmitry:01 caml-list:01 primitives:01 bely:01 bely:01 api:02 long:06 usual:06 discussion:06 On Feb 8, 2008 4:27 PM, Kuba Ober wrote: [...] > > here Unix.select() waits for both network and user input events. > > There's a windows API function for that. As long as the newtork access can be > wrapped in the usual aysnchronous I/O primitives, there's a wait function > that will wait on an async conditition *or* a message. Did you ever read the discussion? - Dmitry Bely