Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Francois Rouaix <francois@rouaix.org>
To: "Bauer, Christoph" <Christoph.Bauer@lms-gmbh.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] C-interface: caml_enter/leave_blocking_section
Date: Mon, 16 Jan 2006 07:59:42 -0800	[thread overview]
Message-ID: <26571C53-8F1C-4AD2-AD02-4D31CFC23012@rouaix.org> (raw)
In-Reply-To: <26EB47FDD566A7469FC862DAF373792F07D722@kaiserslautern1.lmsintl.com>

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
>
>


  reply	other threads:[~2006-01-16 15:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-16 15:33 Bauer, Christoph
2006-01-16 15:59 ` Francois Rouaix [this message]
2006-01-16 16:39 ` [Caml-list] " Daniel Bünzli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26571C53-8F1C-4AD2-AD02-4D31CFC23012@rouaix.org \
    --to=francois@rouaix.org \
    --cc=Christoph.Bauer@lms-gmbh.de \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox