Browse thread
C-interface: caml_enter/leave_blocking_section
-
Bauer, Christoph
- Francois Rouaix
- Daniel_Bünzli
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Francois Rouaix <francois@r...> |
| Subject: | Re: [Caml-list] C-interface: caml_enter/leave_blocking_section |
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 > >