Skip to content

setthreadcontext

Description:

This function demonstrates the usage of the setthreadcontext API.

Example:

-- Set the thread context
setthreadcontext(2)

print("Thread context set to 2")