Browse thread
Co-existing with non OCaml threads
[
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: | Vincenzo Ciancia <vincenzo_yahoo_addressguard-gmane@y...> |
| Subject: | Re: Co-existing with non OCaml threads |
Gerd Stolpmann wrote: > - O'Caml must never see threads not created by itself. This > means a thread created by your middleware must not run > O'Caml code. (You get immediately a segfault if you try.) > However, let's make it clearer, you can create a thread in ocaml and then call a C function, and this C function, which will be run concurrently with other C functions called the same way, can call back ocaml. Vincenzo -- Please note that I do not read the e-mail address used in the from field but I read vincenzo_ml at yahoo dot it Attenzione: non leggo l'indirizzo di posta usato nel campo from, ma leggo vincenzo_ml at yahoo dot it