Skip to content
Snippets Groups Projects
  • Nadav Har'El's avatar
    17a79e66
    Use osv::hang() in abort() · 17a79e66
    Nadav Har'El authored
    abort() did the same thing as the new osv::hang(), so let's just use
    osv::hang(). Note that it's important that osv::hang() doesn't print
    anything - abort() does, but avoids infinite recursion that can happen
    when abort()'s printing itself causes a crash, and another abort().
    17a79e66
    History
    Use osv::hang() in abort()
    Nadav Har'El authored
    abort() did the same thing as the new osv::hang(), so let's just use
    osv::hang(). Note that it's important that osv::hang() doesn't print
    anything - abort() does, but avoids infinite recursion that can happen
    when abort()'s printing itself causes a crash, and another abort().
runtime.cc 8.65 KiB