mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
21 lines
426 B
C
21 lines
426 B
C
// This is a documentation file, not a header. But LDoc.
|
|
|
|
/***
|
|
The `thread.pool` module. Only accessible from a sub-thread.
|
|
@module ctr.thread.pool
|
|
@usage local pool = require("ctr.thread.pool")
|
|
*/
|
|
|
|
/***
|
|
Set a value in the thread's pool.
|
|
@function set
|
|
@tparam integer index
|
|
@param value anything but a table/userdata
|
|
*/
|
|
|
|
/***
|
|
Get a value from the thread's pool.
|
|
@function get
|
|
@tparam integer index
|
|
@return the value stored
|
|
*/
|