Does Qt slots run in parallel with other code?

Viewed 1249

On this function example:

void MyClass::myFunction()
  {
    emit MySignal1();
    emit MySignal2();
  }

If I have slot1 listening for MySignal1, and slot2 listening for MySignal2:

1) Is slot1 going to be always executed before slot2?

2) Will one slot be executed until the other one finishes? Or can both slots run in parallel?

2 Answers
Related