Skip to content

Commit

Permalink
1664 memory cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex authored Nov 25, 2023
1 parent 99f11da commit 790620a
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 @@ -17,6 +17,7 @@
#include <stdexcept>
#include <any>
#include <memory>
#include <shared_mutex>

#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 790620a

Please sign in to comment.