Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Create thread callback on new thread's state #1

@ColonelThirtyTwo

Description

@ColonelThirtyTwo

http://www.freelists.org/post/luajit/How-to-create-another-lua-State-in-pthread,8

Basically, create the thread's main function in the child Lua state, casting it to a number to get it through the C API.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions