Jump to content
  • Advertisement
Sign in to follow this  
Suudy

Multithreaded

This topic is 4859 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Advertisement
Where did you see the claim for support for multithread? I need to know, because maybe I'll have to revise that claim.

I do not trust the library's support for multithreading, because I haven't been able to test it much. I want to support multithreading, but it is a difficult subject, and without a robust test framework I probably can't do it. Because of this, the support is only experimental. Also, it probably only works on Win32, since the methods used are from the Win32 API.

Should you have any problems with it, don't hesitate to tell me so that I can fix it.

I must admit I don't know what you're talking about [wink]. I don't know anything about FLI, VHDL, SystemC, or ModelSim.

Regards,
Andreas

Share this post


Link to post
Share on other sites
Quote:
Original post by WitchLord
Where did you see the claim for support for multithread? I need to know, because maybe I'll have to revise that claim.


You are right, no explicit claim. My apologies.

What I meant ws that there are hooks for multithreading. And with that is an implication of support for multithreading.

Quote:
I do not trust the library's support for multithreading, because I haven't been able to test it much. I want to support multithreading, but it is a difficult subject, and without a robust test framework I probably can't do it. Because of this, the support is only experimental. Also, it probably only works on Win32, since the methods used are from the Win32 API.


Fortunately we are using it on a Win32 box. So far, things are great.

Quote:
I must admit I don't know what you're talking about [wink]. I don't know anything about FLI, VHDL, SystemC, or ModelSim.


Nor is it something you should worry about. It is more of an issue with Mentor Graphics and their decision to provide limited features in their mid-range product. I was throwing it out to give more of a feel for what we are doing.

Suudy

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!