_rm_wlock_debug
void _rm_wlock_debug(struct rmlock *rm, const char *file, int line);
#define rm_wlock(rm) _rm_wlock_debug((rm), LOCK_FILE, LOCK_LINE)