From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 21FE97EE80; Fri, 15 Mar 2013 17:12:50 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of kerneis@pps.jussieu.fr) identity=pra; client-ip=213.186.56.95; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel@kerneis.info"; x-sender="kerneis@pps.jussieu.fr"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of gabriel@kerneis.info designates 213.186.56.95 as permitted sender) identity=mailfrom; client-ip=213.186.56.95; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel@kerneis.info"; x-sender="gabriel@kerneis.info"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@witko.kerneis.info designates 213.186.56.95 as permitted sender) identity=helo; client-ip=213.186.56.95; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel@kerneis.info"; x-sender="postmaster@witko.kerneis.info"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAMNHQ1HVujhf/2dsb2JhbABDh2y/FxZ0gioBAQQBOgYBATcBBAsLGAklDwVJiCEGBAivMoQ7AQWPHQaRe2GWXYEghFKLEYMK X-IPAS-Result: AgMFAMNHQ1HVujhf/2dsb2JhbABDh2y/FxZ0gioBAQQBOgYBATcBBAsLGAklDwVJiCEGBAivMoQ7AQWPHQaRe2GWXYEghFKLEYMK X-IronPort-AV: E=Sophos;i="4.84,852,1355094000"; d="scan'208";a="6652308" Received: from witko.kerneis.info ([213.186.56.95]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 15 Mar 2013 17:12:49 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kerneis.info; s=witko-rsa1; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=ty6BDEnnzQwGINxb8c7CQgBKT02jhW+jvWdqerryBGs=; b=bWKnmxFggliSWAf3/9xtZcK274HeDWyKDYCXhib1H1gcsHwX97icWrarmmUPH+jLkBdyWWjnktHssTs6UjfPlRSmbgRZtk/DHA7rHHXETgZ8+e57aOH6TS9yZB7pVF5i; Received: from c065.al.cl.cam.ac.uk ([128.232.110.65] helo=localhost) by witko.kerneis.info with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UGXFK-0000Qd-BJ; Fri, 15 Mar 2013 17:12:42 +0100 Date: Fri, 15 Mar 2013 16:12:41 +0000 From: Gabriel Kerneis To: oliver Cc: Jeremie Dimino , caml-list@inria.fr, ocsigen@inria.fr Message-ID: <20130315161240.GD6473@kerneis.info> References: <5142E780.7060806@hars.de> <20130315124345.GB3262@siouxsie> <20130315141735.GA4697@siouxsie> <20130315142715.GC4697@siouxsie> <20130315151134.GA5194@siouxsie> <20130315154414.GB6473@kerneis.info> <20130315160045.GA5664@siouxsie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130315160045.GA5664@siouxsie> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 128.232.110.65 X-SA-Exim-Mail-From: gabriel@kerneis.info X-SA-Exim-Scanned: No (on witko.kerneis.info); SAEximRunCond expanded to false Subject: Re: [Caml-list] BUG in unix.ml (was: strange errors when linking lwt.unix) Oliver, On Fri, Mar 15, 2013 at 05:00:45PM +0100, oliver wrote: > The problem occures when using the signal handler from Sys, > not from unix module. Could you please (at least) read the documentation before contributing to this thread again? > It was stated that the unix module is doing things wrong. > But the Unix signalling mechanism was not used. Let me quote it for you: ### Signals ### Note: installation of signal handlers is performed via the functions Sys.signal and Sys.set_signal. -- http://caml.inria.fr/pub/docs/manual-ocaml/libref/Unix.html#6_Signals So the Unix module does not provide any way to setup a signal handler. You have to use Sys. Your requirement of demonstrating the issue using Unix only is silly. Period. -- Gabriel