Browse thread
[Caml-list] external threads
- Vsevolod Fedorov
[
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: | Vsevolod Fedorov <sevaAtWork@m...> |
| Subject: | [Caml-list] external threads |
Hello. One more question about ocaml extensions and threads. It looks like it is impossible to call ocaml functions from 'external' thread - thread created from C, by pthread_create. So it is difficult, for example, use ocaml to serve CORBA calls. Caml uses curr_thread global variable and pthread_setspecific(thread_descriptor_key, ...) available only inside posix.c Is there some solution? Python, for example, provides special API to set up external threads. Seva ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners