This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
api:thread:zh [2023/10/20 11:18] hfsr [Overview] |
api:thread:zh [2023/10/20 11:22] hfsr [Functions] |
||
---|---|---|---|
Line 37: | Line 37: | ||
There are two sections of API defined here. | There are two sections of API defined here. | ||
- | 1. The [[api:thread#Thread_API|thread]] api, or the static functions, provided by `require("thread")` | + | 1. [[api:thread:zh#线程API|线程]]API,或者说静态函数,由`require("thread")`提供。 |
- | 2. The [[api:thread#Thread_Handle_API|thread handle]] api, or the api available the thread _objects_ created by `thread.create`. In this documentation these thread handles will be denoted by just `t`. | + | 2. [[api:thread:zh#线程句柄API|线程句柄]]API,或者说适用于`thread.create`创建的线程_对象_的api。在此文档中这些线程句柄将会仅以`t`表示。 |
===== Thread API ===== | ===== Thread API ===== |