This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
api:thread:zh [2023/10/20 13:18] hfsr [Thread Interrupt Handler Example] |
api:thread:zh [2023/10/20 13:20] hfsr [Thread Yield/Pull Without Blocking Example] |
||
---|---|---|---|
Line 357: | Line 357: | ||
``` | ``` | ||
- | ===== Thread Yield/Pull Without Blocking Example ===== | + | ===== 非阻塞式线程Yield/Pull操作样例 ===== |
- | This example demonstrates that now OpenOS supports non blocking threads. | + | 此样例演示了现在OpenOS可支持非阻塞式线程。 |
```lua | ```lua | ||
Line 375: | Line 375: | ||
``` | ``` | ||
- | Output | + | 输出: |
``` | ``` | ||
custom_event_a | custom_event_a |