Swift Software-transactional-memory Resources