Skip to content

Commit 496f75d

Browse files
evedoniriark01
andauthored
Update docs/api/io/flow_control.md
Co-Authored-By: Irit Arkin <[email protected]>
1 parent c3fa657 commit 496f75d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/api/io/flow_control.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ Notice `printf()`; you can enable this by uncommenting the line (remove the `//`
2424

2525
#### Suspend thread execution
2626

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:
28+
29+
* For C++: The `ThisThread::sleep_for` API
30+
* For C: The `thread_sleep_for` API.
2831

2932
### Ticker
3033

0 commit comments

Comments
 (0)