Browse thread
[Caml-list] Is it impossible to use Ocaml thread and system thread simultaneously?
- SooHyoung Oh
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-12-15 (07:57) |
From: | SooHyoung Oh <shoh@m...> |
Subject: | [Caml-list] Is it impossible to use Ocaml thread and system thread simultaneously? |
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