27 lines
544 B
C++
27 lines
544 B
C++
|
|
/*
|
|||
|
|
* ReenteraptException.cpp
|
|||
|
|
*
|
|||
|
|
* Created on: 11 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
|
|||
|
|
* Author: titov
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#include "ReenteraptException.hh"
|
|||
|
|
|
|||
|
|
std::size_t systemic::ReenteraptException::id() const noexcept {
|
|||
|
|
|
|||
|
|
return 9376;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
std::pair<const char *, std::size_t> systemic::ReenteraptException::binary() const noexcept {
|
|||
|
|
|
|||
|
|
return std::pair<const char *, std::size_t>( reinterpret_cast<const char *>(this), sizeof(ReenteraptException) );
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
const char * systemic::ReenteraptException::what() const noexcept {
|
|||
|
|
|
|||
|
|
return "Interrupt critical section";
|
|||
|
|
|
|||
|
|
}
|