spawn function(thread calls)
-
Is there anyway call to more than one function in multithread.
I mean launch functions in a separate parallel execution threads.
I need:
function a(){
b();//run(b());
c();//run(c());
}function b(){
playnote....
}
function c(){
playnote....
} -
I don't believe this is possible. We are only using two threads in HISE, the message thread (non-realtime) and the audio thread (real time).
-
If you need pseudo asynchronous execution, use a timer object, but this won‘t be on a dedicated thread just like David said.
May I ask what you want to do here? I am sure there‘s another solution. -
We were looking at the issue from the wrong angle. ie trying to control too much from the main container rather then on Sampler level. I think that we now have a better way of handling it with CherryAnt. It is down to working out the Architecture of HISE rather then anything else ;) Thanks for your help guys.