Skip to content

getthreadcontext

Description:

This function demonstrates the usage of the getthreadcontext API.

Example:

-- Get the thread context
local context = getthreadcontext()

print("Current thread context: " .. context)