Static Public Member Functions | |
| static mixed | terminate (mixed jobid) |
| static mixed | prio_cmp (mixed a, mixed b) |
| static mixed | status (mixed job_id) |
| status of the given job (see coroutine.status) | |
| static mixed | create (mixed job_fun, mixed callback_fun, mixed priority) |
| static mixed | create_low_prio (mixed priority, mixed job_fun, mixed callback_fun) |
| this job is only executed if there is enough time left in the frame | |
| static mixed | internal_handle_resume_error (mixed v, mixed status, mixed r) |
| static mixed | wakeup (mixed jobid) |
| static mixed | bind_viability (mixed jobid, mixed object) |
| static mixed | wait (mixed timeout_in_ms) |
Definition at line 967 of file lua_pseudo_code.cpp.
| static mixed job::terminate | ( | mixed | jobid | ) | [inline, static] |
Definition at line 969 of file lua_pseudo_code.cpp.
| static mixed job::prio_cmp | ( | mixed | a, | |
| mixed | b | |||
| ) | [inline, static] |
Definition at line 971 of file lua_pseudo_code.cpp.
| static mixed job::status | ( | mixed | job_id | ) | [inline, static] |
| static mixed job::create | ( | mixed | job_fun, | |
| mixed | callback_fun, | |||
| mixed | priority | |||
| ) | [inline, static] |
creates and runs a function as a job and returns the job_id higher priority == more important job if priority == nil then the job runs every frame otherwise only if there is enough time left in the current frame
Definition at line 980 of file lua_pseudo_code.cpp.
| static mixed job::create_low_prio | ( | mixed | priority, | |
| mixed | job_fun, | |||
| mixed | callback_fun | |||
| ) | [inline, static] |
this job is only executed if there is enough time left in the frame
Definition at line 983 of file lua_pseudo_code.cpp.
| static mixed job::internal_handle_resume_error | ( | mixed | v, | |
| mixed | status, | |||
| mixed | r | |||
| ) | [inline, static] |
Definition at line 985 of file lua_pseudo_code.cpp.
| static mixed job::wakeup | ( | mixed | jobid | ) | [inline, static] |
Definition at line 987 of file lua_pseudo_code.cpp.
| static mixed job::bind_viability | ( | mixed | jobid, | |
| mixed | object | |||
| ) | [inline, static] |
the job gets executed as long as the given object is alive use this with jobs that depends on object and should get killed if object is not alive anymore
Definition at line 992 of file lua_pseudo_code.cpp.
| static mixed job::wait | ( | mixed | timeout_in_ms | ) | [inline, static] |
Definition at line 994 of file lua_pseudo_code.cpp.
1.5.6