stevedonovan / winapi

Minimal but useful Lua bindings to the Windows API
http://stevedonovan.github.com/winapi/api.html
Other
192 stars 40 forks source link

does winapi is thread safe #4

Open moteus opened 12 years ago

moteus commented 12 years ago

Can i use winapi in several thread when each thread has it's own lua_Sate? When i try use i have strange error. On winapi.sleep i have error like 'attempt to call a string value'; I do not debug and just switch to my own library. So may be its my fault.

stevedonovan commented 12 years ago

I don't think winapi is thread safe - I am trying, but it is difficult to get correct ;)