Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

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

瀏覽次數:7 次
跳到第一則未讀訊息

Bauer, Christoph

未讀,
2006年1月16日 上午10:43:252006/1/16
收件者: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

未讀,
2006年1月16日 上午11:03:262006/1/16
收件者: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

未讀,
2006年1月16日 上午11:42:112006/1/16
收件者: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 則新訊息