Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2003-07-01 (10:19)
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: