Skip to content

Commit

Permalink
1664 memory constrained cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex authored Nov 25, 2023
1 parent e17f209 commit 99f11da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thirdparty/lru_ordered_memory_constrained_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <cstddef>
#include <stdexcept>
#include <any>
#include <memory>

#define CACHE_READ_LOCK( _M_ ) std::shared_lock< std::shared_mutex > _read_lock_( _M_ );
#define CACHE_WRITE_LOCK( _M_ ) std::unique_lock< std::shared_mutex > _write_lock_( _M_ );
Expand Down

0 comments on commit 99f11da

Please sign in to comment.