scheduler-locking controls how threads behave while we step one of them:
(gdb) help set scheduler-locking
Set mode for locking scheduler during execution.
off == no locking (threads may preempt at any time)
on == full locking (no thread except the current thread may run)
We need full control by default so let's set it to full locking.
scheduler-locking controls how threads behave while we step one of them:
We need full control by default so let's set it to full locking.