Skip to content

Commit e1e13eb

Browse files
committed
Fix typo
Fix typo。
1 parent 8ad5781 commit e1e13eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/set-scheduler-locking-on.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
可以看到在单步调试`thread1_func`几次后,`b`的值仍然为`0`,证明在在单步调试`thread1_func`时,`thread2_func`没有执行。
100100

101-
此外,“`set scheduler-locking`”命令除了支持`off``on`模式外(默认是`off`),还有一个`step`模式。含义是:当用"`step`"命令调试线程时,其它线程不会执行,但是用其它命令(比如"`next`")调试线程时,其它线程也许会执行。
101+
此外,“`set scheduler-locking`”命令除了支持`off``on`模式外(默认是`off`),还有一个`step`模式。含义是:当用"`step`"命令调试线程时,其它线程不会执行,但是用其它命令(比如"`next`")调试线程时其它线程也许会执行。
102102

103103
这个命令依赖于具体操作系统的调度策略,使用时需注意。参见[gdb手册](https://sourceware.org/gdb/onlinedocs/gdb/All_002dStop-Mode.html#All_002dStop-Mode).
104104

0 commit comments

Comments
 (0)