Hi, all. Is it possible to create a lua_State per a native thread? If yes, how can we do that? As a step before that, I made a sample code for calling a C function from pthread_create() and got it working. https://github.com/hnakamur/luajit-samples/tree/master/pthread I would like to create a lua_State in the C function and run multiple lua instances parallel. How can we write that? Do we have to write that portion in C? Or we can write the function called from pthread_create() in lua? Thanks -- )Hiroaki Nakamura) hnakamur@xxxxxxxxx