Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "matthieu.dubuget@libertysurf.fr" <matthieu.dubuget@libertysurf.fr>
To: caml-list <caml-list@inria.fr>
Subject: Ocaml multithreaded shared library
Date: Fri, 25 Feb 2005 09:07:32 +0100	[thread overview]
Message-ID: <ICGJWK$7FD000CAF57E2C5DD73B35F0C74509F3@tiscali.fr> (raw)

Hello!

I did one multithreaded Caml library.

The API allow to:
- create one thread
- stop it
- get information from it
- ...

When called from an Ocaml test program, no problem:
everything works as expected.

My naive idea was to turn it into a shared library (well, a
DLL because the real project is targeted on windows OS, but
the problem is the same on linux), and call it from another
language. Let say at least for tests.

But it does not work because the Ocaml thread seems to stop
working when the function that created it returns.

Is this way to work possible or have I to change my idea?

Salutations

Matthieu

PS Sorry for the footer added by my provider: I'm registered
to Caml-list with my personnal address, but I'm at work now...


************************ ADSL JUSQU'A 8 MEGA + 3 MOIS DE TELEPHONE GRATUIT ************************
L'ultra haut débit à 15EUR/mois seulement ! Et vous téléphonez gratuitement en France vers les postes fixes,
hors numéros spéciaux pendant 3 mois.
Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/  (voir conditions sur le site)



                 reply	other threads:[~2005-02-25  8:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ICGJWK$7FD000CAF57E2C5DD73B35F0C74509F3@tiscali.fr' \
    --to=matthieu.dubuget@libertysurf.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox