what are threads?
what are threads?
I just need a laymans explanation of what threads are and what they do? when do you use it and why?
Re: what are threads?
Hello,
for a general explanation on threads, check the Wikipedia entry.
When related to V-REP and its child scripts:
for a general explanation on threads, check the Wikipedia entry.
When related to V-REP and its child scripts:
- non-threaded child scripts: they are executed at each simulation pass, similar to a function that is called at each simulation pass.
- threaded child scripts: they are (by default) called just once, and execute asynchronously (by default) to the main simulation loop. You could say that they are executing in parallel with the main simulation loop.