RSMRC_UNLOCK
RSMRC_UNLOCK(p);
RSMRC_UNLOCK(new);
#define rsmseglock_release(p) RSMRC_UNLOCK((rsmresource_t *)(p))