rm_wlock
#define rm_wlock(rm) _rm_wlock_debug((rm), LOCK_FILE, LOCK_LINE)
#define rm_wlock(rm) _rm_wlock((rm))