#include <thread.h>
Helper class: scoped write lock for a spin_rw_mutex – grabs the read lock upon construction, releases the lock when it exits scope.