Forum

C# threading

i’m looking for an easy threading example in vvvv. is there a plugin codebase showing something like putting a calculation into another thread and getting the data back into the mainthread ?

yes i had a look at some non vvvv related c# tutorials but maybe there is some plugin code i can learn from.

cheers

well i succeded in that, implementing kinect, but actually i cant really work with vvvv edito cos for most errors i have in code then i have tu build another pulgin, looklike is loosing cache settings or dunno what, as far as it will work i will show it, anyway i just instantiated a new thread and lock/unlock what i need, hope it helps :D

the particle plugin does run the calculation on multiple threads, look at about line 350:
ParticleSystemNode.cs

cheers tebjan, thats what i’m looking for