Original Post
Suudy: This sounds like an excellent way to use AngelScript. :) Does it work well in a multithreaded environment? I haven't worked too much on making it thread safe, just a few minor things that were necessary. You did compile the library with USE_THREADS, didn't you? [/QUOTE] We haven't heavily tested any of the multi-threaded capabilities. However, since it claims support... ;) We did compile with USE_THREADS. However, it is important to note that we are using ModelSim's SystemC compiler to compile the code. ModelSim uses MiniGW g++, which we used to compile into a static library. From there we link that using the SystemC compiler (sccom--based upon MiniGW) to link into a final shared library. ModelSim loads this shared library at simulation runtime. As a side note, what we really wanted to do was use the FLI and do callbacks from a VHDL model, rather than the SystemC interface. But the FLI is only supported on ModelSim SE (at a cost of $25k--no kidding!), where we could use SystemC in Modelsim PE (only $2k). But Angelscript works wonderfully within the SystemC paradigm. Thanks for the excellent library!