Hi, When should I use lua_lock() and lua_unlock() while I write C extention function? While I looked over serveral source files, I found some C functions use lua_lock()/lua_unlock() pair, but some functions did not use them. --- yonghi