chore: arch: Derive XThread from std::exception

This is needed because by convention exceptions must derive from at
least std::exception.
ported from: 22aec16dc7
ported-by sithlord48
This commit is contained in:
Povilas Kanapickas
2025-05-25 01:57:35 -04:00
committed by Nick Bolton
parent 51db919d8f
commit cab1eb9cee

View File

@ -19,7 +19,7 @@ Exceptions derived from this class are used by the multithreading
library to perform stack unwinding when a thread terminates. These
exceptions must always be rethrown by clients when caught.
*/
class XThread
class XThread : public std::exception
{
};