HasQuitted
if (!HasQuitted() && requestQuit)
while (!HasQuitted())
status_t error = (HasQuitted() ? B_OK : B_ERROR);
bool HasQuitted();
status_t error = (HasQuitted() ? B_OK : B_ERROR);
while (!HasQuitted())
bool HasQuitted();