Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] external threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vsevolod Fedorov <sevaAtWork@m...>
Subject: [Caml-list] external threads

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

Is there some solution?
Python, for example, provides special API to set up external threads.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: