37 }
catch (
const std::exception &
e) {
38 PLAIN_LOG <<
"Save blocker dtor swallowing an exception: " <<
e.what();
53 return SDL_SemValue(
sem_) == 0;
61 return SDL_SemTryWait(
sem_) == 0;
65 assert(SDL_SemValue(
sem_) == 0);
static bool saves_are_blocked()
static void on_unblock(play_controller *controller, void(play_controller::*callback)())
static void(play_controller::* callback_)()
static play_controller * controller_
Standard logging facilities (interface).