summaryrefslogtreecommitdiff
path: root/src/thread.rs
AgeCommit message (Expand)Author
2023-08-12Add `OwnedThread` type (unstable)Alex Orlenko
2023-08-03Optimize async functionality:Alex Orlenko
2023-07-20Drop openresty specific luajit extensionsAlex Orlenko
2023-07-10Various cosmetic changesAlex Orlenko
2023-06-02(Luau) Set thread globals to main thread globals when resetting the threadAlex Orlenko
2023-05-29Use futures-core and futures-tasks via futures-util.Alex Orlenko
2023-05-28Use `lua_closethread` in `AsyncThread::drop()`Alex Orlenko
2023-05-21Update to Lua 5.4.6Alex Orlenko
2023-04-14Remove usage of crate::ffi (clippy)Alex Orlenko
2023-04-08Add `Thread::set_hook()` functionAlex Orlenko
2023-04-05Add `must_use` to `AsyncThread`Alex Orlenko
2023-03-30Don't call error handler for memory errors in coroutinesAlex Orlenko
2023-03-03Add Waker lifetime to WakerGuardAlex Orlenko
2023-03-03Async: store pointer to Waker in extra data rather than in Lua ref threadAlex Orlenko
2022-12-19Rename ToLua/ToLuaMulti -> IntoLua/IntoLuaMultiAlex Orlenko
2022-12-19Add "unstable" feature flag.Alex Orlenko
2022-12-19Refactor LuaInner stateAlex Orlenko
2022-12-18Initial implementation of owned Lua typesAlex Orlenko
2022-10-22Replace Lua::ref_thread_execAlex Orlenko
2022-08-01Fix Lua assertion when inspecting another thread stack.Alex Orlenko
2022-07-31Close to-be-closed variables for Lua 5.4 when using call_async functionsAlex Orlenko
2022-04-14Fix clippy warningsAlex Orlenko
2022-04-08Don't cast *const to *mut (for pointers comparison)Alex Orlenko
2022-04-08Fix Luau documentation in docs.rsAlex Orlenko
2022-04-03Fix doc testAlex Orlenko
2022-03-28Sandboxing supportAlex Orlenko
2022-03-23Enable Thread::reset for LuauAlex Orlenko
2022-03-20More ffi module refactoringAlex Orlenko
2022-03-20Refactor ffi moduleAlex Orlenko
2021-11-25Update docsAlex Orlenko
2021-11-14Update commentsAlex Orlenko
2021-11-14Add thread (coroutine) cache to reset and later reuse to execute async functi...Alex Orlenko
2021-11-12Optimize MultiValue allocations (recycle old container)Alex Orlenko
2021-10-12Update documentation referencesAlex Orlenko
2021-10-03Refactor Waker handling in async code.Alex Orlenko
2021-10-02Fixed bug when polling async futures (#77)Alex Orlenko
2021-09-28Make `protect_lua` as a smart macro to choose from C/closureAlex Orlenko
2021-09-28Add inline attributes to few hot funcsAlex Orlenko
2021-07-08Revert "Make `protect_lua` as a smart macro to choose from C/closure"Alex Orlenko
2021-07-08Revert "Move away from metatable hashmap cache to direct keys"Alex Orlenko
2021-07-08Move away from metatable hashmap cache to direct keysAlex Orlenko
2021-07-07Make `protect_lua` as a smart macro to choose from C/closureAlex Orlenko
2021-06-16Revert commit ced808d5abAlex Orlenko
2021-06-13Fix clippy warnings && testsAlex Orlenko
2021-05-05Add `Thread::reset()` for luajit/lua54Alex Orlenko
2021-05-03Replace 'Thread already finished' error with common `Error::CoroutineInactive`Alex Orlenko
2021-05-02Allocate Waker slot in Registry in re-use it (instead of creating new userdat...Alex Orlenko
2021-05-02Make AsyncPollPending internal value as LightUserDataAlex Orlenko
2021-05-02Stack assertions reviewAlex Orlenko
2021-04-27Don't trigger longjmp in rust.Alex Orlenko