mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 00:39:30 +00:00
Added CIA, bugfixes, portlibs update
This commit is contained in:
parent
2725dce383
commit
b19ec95cc7
14 changed files with 757 additions and 158 deletions
21
source/thread.pool.h
Normal file
21
source/thread.pool.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// 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
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue