lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>I've been looking through the code and see various lua_lock and 
>How exactly does this lock work? Also why does it need a #ifndef in front 
>of it?

lua_lock and lua_unlock are for applications that need support for
multiple OS threads. See

The #ifndef is there so that you can #define your own versions, which will
depend on your application and your OS.