diff options
author | bd <bdunahu@operationnull.com> | 2025-03-08 15:19:57 -0500 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-08 15:19:57 -0500 |
commit | c4c985bfffca6f4b7dc9e08e275837f2b213b593 (patch) | |
tree | a55d0f640d9eb94c58ac25cf5c551c0d7506e43e /src/storage/storage.cc | |
parent | 6470c93a411dd8f64a91a7812274349b258a9957 (diff) |
Remove queue in storage.h
Diffstat (limited to 'src/storage/storage.cc')
-rw-r--r-- | src/storage/storage.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/storage.cc b/src/storage/storage.cc index 429f8aa..e3067a2 100644 --- a/src/storage/storage.cc +++ b/src/storage/storage.cc @@ -24,9 +24,9 @@ void Storage::do_write(signed data, int address) void Storage::resolve() { if (this->wait_time == 0) { - this->deque.pop_front(); + this->requester = IDLE; this->wait_time = delay; - } else if (!this->deque.empty()) { + } else if (this->requester != IDLE) { --this->wait_time; } } |