caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Is it impossible to use Ocaml thread and system thread simultaneously?
@ 2003-12-15  7:57 SooHyoung Oh
  0 siblings, 0 replies; only message in thread
From: SooHyoung Oh @ 2003-12-15  7:57 UTC (permalink / raw)
  To: Caml-List


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-15  7:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-15  7:57 [Caml-list] Is it impossible to use Ocaml thread and system thread simultaneously? SooHyoung Oh

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