0
0

Hi, so I integrated FMOD into my engine months ago and I am trying sort of an experiment with multithreading. I know that FMOD itself is multithreaded internally and I know that multiple threads should not attempt to control a single instance of FMOD::System.

My question is, [b:3kox7wae]if I have multiple threads, is it safe to run a different instance of FMOD::System on each one of them[/b:3kox7wae]? These threads do not communicate at all while running concurrently (at least from my code).

Thanks

  • You must to post comments
0
0

Yes it is safe to run an fmod system per thread. The only time they would share data when is the global list of system objects is modified during FMOD::System_Create and System::release – so be careful to make sure these 2 functions are not called against any other FMOD::System function call at the same time.

  • You must to post comments
0
0

Good to know, thanks very much =)

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.