lua-users home
lua-l archive

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

Hello, I read lua sources at tonight. I saw this code piece:

ldump.c  line 33-35:

why lua_unlock before lua_lock?

I find lua_lock and lua_unlock defined in Llimits.h:

Llimits.h 109-112:
#ifndef lua_lock
#define lua_lock(L)     ((void) 0)
#define lua_unlock(L)   ((void) 0)

I think lua_lock and lua_unlock is unusable, for new version?
who can let me know something about this?

THKS.sorry for my poor english.I am chinese.