Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ExceptionInLinkedThread :: Async a -> SomeException -> ExceptionInLinkedThreadlifted-async Control.Concurrent.Async.Lifted.Safe No documentation available.
asyncThreadId :: Async a -> ThreadIdlifted-async Control.Concurrent.Async.Lifted.Safe pattern
LUA_TTHREAD :: TypeCodelua Lua Type of Lua threads
lua_isthread :: State -> StackIndex -> IO LuaBoollua Lua Returns TRUE if the value at the given index is a thread, and FALSE otherwise. https://www.lua.org/manual/5.4/manual.html#lua_isthread
lua_newthread :: State -> IO Statelua Lua Creates a new thread, pushes it on the stack, and returns a State that represents this new thread. The new thread returned by this function shares with the original thread its global environment, but has an independent execution stack. There is no explicit function to close or to destroy a thread. Threads are subject to garbage collection, like any Lua object. https://www.lua.org/manual/5.4/manual.html#lua_newthread
lua_pushthread :: State -> IO CIntlua Lua Pushes the current thread onto the stack. Returns 1 iff this thread is the main thread of its state. https://www.lua.org/manual/5.4/manual.html#lua_pushthread.
lua_tothread :: State -> StackIndex -> IO Statelua Lua Converts the value at the given index to a Lua thread (represented as State). This value must be a thread; otherwise, the function returns nullPtr. https://www.lua.org/manual/5.4/manual.html#lua_tothread
pattern
LUA_TTHREAD :: TypeCodelua Lua.Constants Type of Lua threads
lua_isthread :: State -> StackIndex -> IO LuaBoollua Lua.Primary Returns TRUE if the value at the given index is a thread, and FALSE otherwise. https://www.lua.org/manual/5.4/manual.html#lua_isthread
lua_newthread :: State -> IO Statelua Lua.Primary Creates a new thread, pushes it on the stack, and returns a State that represents this new thread. The new thread returned by this function shares with the original thread its global environment, but has an independent execution stack. There is no explicit function to close or to destroy a thread. Threads are subject to garbage collection, like any Lua object. https://www.lua.org/manual/5.4/manual.html#lua_newthread