Browse thread
[Caml-list] Unreliable Threading?
- David McClain
[
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: | 2001-12-05 (20:56) |
From: | David McClain <barabh@q...> |
Subject: | [Caml-list] Unreliable Threading? |
Ealier, when developing a mixed C/C++ and OCaml program, it looked as thought the OCaml threading code was "unreliable" in that I would get crashes under the MSVC++ debugger of "Invalid Handle" errors. But running the code outside of the debugger works just fine. I now believe the problem has nothing to do with OCaml or its threading code, but rather the way the M$ debugger attempts to walk stack frames looking for contexts to report. Since OCaml threading does its own thing, M$ appears to get lost in this process and ends up crashing on its own -- incorrectly attributing the error to the code under test. All efforts to use OCaml multithreading and Channels for inter-thread coordination HAVE been quite reliable outside of the M$ development environment. - D. McClain, Sr. Scientist, Raytheon Systems Co., Tucson, AZ ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr