blob: 3d199657fd34af811e9cfa1f317e03e5d1d6334e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---@meta
--- luv_thread_t
---
---@class uv.luv_thread_t : userdata
local thread
--- Returns a boolean indicating whether two threads are the same. This function is
--- equivalent to the `__eq` metamethod.
---
---@param other_thread uv.luv_thread_t
---@return boolean
function thread:equal(other_thread) end
--- Waits for the `thread` to finish executing its entry function.
---
---@return boolean|nil success
---@return uv.error.message|nil err
---@return uv.error.name|nil err_name
function thread:join() end
|