You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/io/flow_control.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,10 @@ Notice `printf()`; you can enable this by uncommenting the line (remove the `//`
24
24
25
25
#### Suspend thread execution
26
26
27
-
A better alternative to busy wait is to suspend thread execution while waiting. You can use the `ThisThread::sleep_for` C++ API or `thread_sleep_for` C API.
27
+
A better alternative to busy wait is to suspend thread execution while waiting. Use:
0 commit comments