English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
RE: [Caml-list] ojacare known problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-05-27 (10:03)
Subject: RE: [Caml-list] ojacare known problem
Hello Laurent,
caml doesn't support multi-threaded calls since GC is not multithreaded (native threads).

Therefore, you should ensure that all the calls from java to caml are executed via a unique thread.
In the ojacare case, that would be the main thread.

Do you want multi-threaded java apps call caml ?

If you are interested by the subject, you can take a look at caml-list post where this question is raised.

[Caml-list] Using camljava library in a multithreaded context posted 23/02/2005

Hope this helps.
Rabih Chaar

-----Message d'origine-----
De : caml-list-admin@yquem.inria.fr
[mailto:caml-list-admin@yquem.inria.fr]De la part de Laurent Burgy
Envoyé : vendredi 27 mai 2005 11:25
À : caml-list@inria.fr
Objet : [Caml-list] ojacare known problem


i am just wandering what kind of errors i would have if, sadly, i didn't 
restraint communications between the Ocaml and Java to the main thread...

Does the "main" refer to the ocaml or the java one ?



Laurent BURGY                  Doctorant INRIA / LaBRI


URL: http://phoenix.labri.fr/people/burgy


Caml-list mailing list. Subscription management:
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite. 
Tout message electronique est susceptible d'alteration. 
SG Asset Management et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.

Decouvrez l'offre et les services de SG Asset Management sur le site


This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration. 
Neither SG Asset Management nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.