diff options
author | bd <bdunahu@operationnull.com> | 2025-03-29 12:30:54 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-29 12:30:54 -0400 |
commit | d8e33f871bfb8dbfbad3fa0d7e1e13af5bcde830 (patch) | |
tree | cf5d6872eec0cf50d1831137a337bbbdfbee0ff1 | |
parent | b29311f0140c615c005f5d076adc921d98842ec6 (diff) |
Add implementation functions for checking out a register.
-rw-r--r-- | inc/response.h | 1 | ||||
-rw-r--r-- | src/utils/response.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/inc/response.h b/inc/response.h index 6cd6678..05e9352 100644 --- a/inc/response.h +++ b/inc/response.h @@ -6,6 +6,7 @@ enum Response { OK, WAIT, BLOCKED, + STALLED, }; std::ostream &operator<<(std::ostream &os, Response r); diff --git a/src/utils/response.cc b/src/utils/response.cc index def6578..3d6e439 100644 --- a/src/utils/response.cc +++ b/src/utils/response.cc @@ -3,6 +3,6 @@ std::ostream &operator<<(std::ostream &os, Response r) { - const std::string nameR[] = {"OK", "WAIT", "BLOCKED"}; + const std::string nameR[] = {"OK", "WAIT", "BLOCKED", "STALLED"}; return os << nameR[r]; } |