From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D48D3BC8A for ; Sun, 30 Jan 2005 18:12:42 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j0UHCgcj006428 for ; Sun, 30 Jan 2005 18:12:42 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA27088 for ; Sun, 30 Jan 2005 18:12:41 +0100 (MET) Received: from home.mk.pp.ru (av6800.comex.ru [217.10.34.155]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j0UHCdWJ006417 for ; Sun, 30 Jan 2005 18:12:40 +0100 Received: from ermine.home (ermine.home [192.168.2.2]) by home.mk.pp.ru (Postfix) with ESMTP id 2495920B2B for ; Sun, 30 Jan 2005 20:12:39 +0300 (MSK) Received: by ermine.home (Postfix, from userid 1001) id 366803A9F67; Sun, 30 Jan 2005 20:15:44 +0300 (MSK) Date: Sun, 30 Jan 2005 20:15:44 +0300 From: Anastasia Gornostaeva To: caml-list@inria.fr Subject: setitimer & libc_r Message-ID: <20050130171544.GA67701@ermine.home> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Miltered: at concorde with ID 41FD158A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 41FD1587.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; libc:01 libc:01 unix:01 executes:01 pthreads:02 linked:06 linked:06 timer:08 timer:08 but:12 case:13 freebsd:14 does:14 stops:15 hello:17 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.0 X-Spam-Level: Hello. In my programm a timer based on Unix.setitimer does not work when is linked to libc_r on FreeBSD 5.x, but perfectly works when is linked with pthreads. In case with libc_r a timer executes 1-2 events and stops. Why? ermine