Module ctr.thread.pool

The thread.pool module.

Only accessible from a sub-thread.

Usage:

    local pool = require("ctr.thread.pool")

Functions

set (index, value) Set a value in the thread's pool.
get (index) Get a value from the thread's pool.


Functions

set (index, value)
Set a value in the thread's pool.

Parameters:

  • index integer
  • value anything but a table/userdata
get (index)
Get a value from the thread's pool.

Parameters:

  • index integer

Returns:

    the value stored
generated by LDoc 1.4.3 Last updated 2017-06-05 14:35:27