From: "Paul E.C. Melis" Date: 2002-01-11T05:43:07+09:00 Subject: Embedding in multithreaded win32 app? Hi there, What I have is a research tool that runs a physical simulation while using a thread a scripting console (currently Lua) is made available where you can enter commands to alter simulation parameters, get debug info, etc. I'm currently using GLib for thread support to create the console thread (to keep the app working on both windows and linux without modification). I tried replacing the Lua console with a Ruby (1.6.5) one. However, when I call ruby_init() from within the created console thread, it exits with a segfault. I can't seem to find where this is coming from. Does Ruby's own thread support give problems here? And how thread-safe is the Ruby code at the moment when it comes to embedding? Thanks, Paul