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 DDED5BB9C for ; Mon, 16 Jan 2006 16:59:54 +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 k0GFxsFV003005 for ; Mon, 16 Jan 2006 16:59:54 +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 QAA32474 for ; Mon, 16 Jan 2006 16:59:53 +0100 (MET) Received: from angular.lunarpages.com (angular.lunarpages.com [216.227.217.215]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k0GFxpE1002997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 16 Jan 2006 16:59:53 +0100 Received: from 71-35-156-234.tukw.qwest.net ([71.35.156.234] helo=[192.168.0.42]) by angular.lunarpages.com with esmtpa (Exim 4.52) id 1EyWlo-0005kx-O7; Mon, 16 Jan 2006 07:59:49 -0800 In-Reply-To: <26EB47FDD566A7469FC862DAF373792F07D722@kaiserslautern1.lmsintl.com> References: <26EB47FDD566A7469FC862DAF373792F07D722@kaiserslautern1.lmsintl.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <26571C53-8F1C-4AD2-AD02-4D31CFC23012@rouaix.org> Cc: caml-list@inria.fr Content-Transfer-Encoding: 7bit From: Francois Rouaix Subject: Re: [Caml-list] C-interface: caml_enter/leave_blocking_section Date: Mon, 16 Jan 2006 07:59:42 -0800 To: "Bauer, Christoph" X-Mailer: Apple Mail (2.746.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - angular.lunarpages.com X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - rouaix.org X-Miltered: at concorde with ID 43CBC2FA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43CBC2F7.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 c-interface:01 threads:01 caml-list:01 beginner's:01 ocaml:01 beginners:01 bug:01 deutschland:98 wrote:01 heap:01 functions:01 bin:01 caml:02 caml:02 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 When you want to be able to switch threads while in C-code, or handle signals. However, my understanding is that the code in the section must not access anything in the Caml heap. On Jan 16, 2006, at 7:33 AM, Bauer, Christoph wrote: > Hi, > > when do I have to call the functions > caml_enter_blocking_section () > and > caml_leave_blocking_section () > in my C-stub code? > > Thanks, > > Christoph Bauer > Dipl. Inf. > > LMS Deutschland GmbH > Luxemburgerstr. 7 > D-67657 Kaiserslautern > > T +49 631 303 22 152 > > mailto:Christoph.Bauer@lms-gmbh.de > http://www.lmsintl.com > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > >