caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Long running finalizers and global lock
Date: Thu, 7 Apr 2011 14:05:40 +0200	[thread overview]
Message-ID: <AD08986B-7203-4BF9-91B2-1520AD9346CE@inria.fr> (raw)
In-Reply-To: <BANLkTin4PqRfVncz1r+JquTr9zYJXGi_+g@mail.gmail.com>


On 2011-04-05, at 19:10, Pedro Borges wrote:

> I have a long running function inse a finalizer is it safe to release
> and acquire the runtime lock ?


NOT safe.  In fact, it will almost certainly crash immediately.

-- Damien


      parent reply	other threads:[~2011-04-07 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 17:10 Pedro Borges
2011-04-06 15:20 ` Goswin von Brederlow
2011-04-07 12:05 ` Damien Doligez [this message]

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=AD08986B-7203-4BF9-91B2-1520AD9346CE@inria.fr \
    --to=damien.doligez@inria.fr \
    --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;
as well as URLs for NNTP newsgroup(s).