This internal lock is « activated »  by the external API 
startMTDSPFactories/stopMTDSPFactories : this was added when we suspected 
multi-thread access to the libfaust API in Max/MSP faustgen~, but has not been 
extensively tested since.

I would be interested if you can used those 
startMTDSPFactories/stopMTDSPFactories functions and see it they work as they 
should.

Stéphane


> Le 13 juin 2016 à 10:45, Kjetil Matheussen <k.s.matheus...@gmail.com> a écrit 
> :
> 
> Hi,
> 
> I'm calling functions to create and destroy instances of
> llvm_dsp_factory and llvm_dsp from multiple threads simultaneously,
> and I have used a lock to protect access to these calls.
> 
> But when I look at the source code in faust (llvm_dsp_aux.cpp),
> these functions are already protected by a lock (gDSPFactoriesLock).
> 
> Can I trust these functions to always be protected by a lock,
> or should I keep the lock in my program just in case?
> 
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. 
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e_______________________________________________
> Faudiostream-devel mailing list
> Faudiostream-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to