Running Non-threaded child scripts in parallel

Typically: "How do I... ", "How can I... " questions
Post Reply
javl0p

Running Non-threaded child scripts in parallel

Post by javl0p »

Hi!

I have one question.

Considering I have a program which contains multiple non-threaded child scripts, are they run in parallel?

I mean, every simulation stage (initialization, sensing, actuation) is run at the exact same time? Will having multiple non-threaded child scripts make my simulation much slower?

Regards!

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Running Non-threaded child scripts in parallel

Post by coppelia »

Hello,

non-threaded child scripts will never run at the same time. Think of them as functions that are called successively. While inside of a non-threaded child script, nothing else will execute (everything else will halt until you come out of the non-threaded child script).

Cheers

Post Reply