Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] C-interface: caml_enter/leave_blocking_section

7 views
Skip to first unread message

Bauer, Christoph

unread,
Jan 16, 2006, 10:43:25 AM1/16/06
to caml...@inria.fr
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:Christo...@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

Francois Rouaix

unread,
Jan 16, 2006, 11:03:26 AM1/16/06
to Bauer, Christoph, caml...@inria.fr
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.

Daniel Bünzli

unread,
Jan 16, 2006, 11:42:11 AM1/16/06
to Bauer, Christoph, caml...@inria.fr
It is "documented" here [1].
Best,

Daniel

[1] <http://caml.inria.fr/pub/ml-archives/caml-list/
2001/06/58d7a7e8747056c3842e53b4e9454f44.en.html>

0 new messages