|
Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
|
An owned unit of work created by ThreadJob_create or ThreadJob_lcreate. More...
#include <lxrc.h>
Public Attributes | |
| lua_State * | Lt |
| Borrowed Lua thread, valid only during the job callback. More... | |
An owned unit of work created by ThreadJob_create or ThreadJob_lcreate.
Copy callback input into job-owned storage before submission. After LThreadMgr_run queues the job, the manager owns it regardless of the function's worker-availability return value; do not free or requeue it from the callback. Lt is borrowed only during that callback. Pending jobs can be discarded during manager teardown, so stop event producers before destroying the manager. See Advanced Lua Bindings.
| lua_State* ThreadJob::Lt |
Borrowed Lua thread, valid only during the job callback.