caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "SooHyoung Oh" <shoh@miritek.com>
To: "Caml-List" <caml-list@inria.fr>
Subject: [Caml-list] Is it impossible to use Ocaml thread and system thread simultaneously?
Date: Mon, 15 Dec 2003 16:57:02 +0900	[thread overview]
Message-ID: <008e01c3c2e1$153d39b0$63886bd2@hama> (raw)


Actuall, I'm developing some ocaml applications on linux (Redhat 9.0, ocaml
3.07-2).
It needs c library from the other comany
which includes some code using system thread.

(Q1)
I heard from annan@hushmail.com
that it is impossible to use ocaml thread and system thread simultaneously.
Is it true?

(Q2)
What I'm doing is
(1) main is coded with ocaml.
(2) register c_callback (c code) to the library
(3) (On packet arrival) a thread in the libraray calls the registered
c_callback function
(4) c_callback (c code) function calls ocaml's callback () function

Is it impossible to implement this?

(Q3)
Although the company which developed the library can't give us the source,
it MAY BE POSSIBLE to change their code for us.

Is there any method to implement our application with minor fix of the
library?

Thanks in advance

---
SooHyoung Oh

-------------------
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


                 reply	other threads:[~2003-12-15  7:57 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='008e01c3c2e1$153d39b0$63886bd2@hama' \
    --to=shoh@miritek.com \
    --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;
as well as URLs for NNTP newsgroup(s).