Skip to content

Commit

Permalink
Document that ThreadCachedInt is derived from folly
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Thomas <[email protected]>
  • Loading branch information
ianthomas23 committed Apr 18, 2024
1 parent f1c48ea commit ad1fc80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cpp/arcticdb/util/thread_cached_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@

namespace arcticdb {

/*
* ThreadCachedInt is a simpler version of
* https://github.com/facebook/folly/blob/main/folly/ThreadCachedInt.h
* containing only the subset of functionality required here and using
* boost::thread_specific_ptr instead of folly's ThreadLocalPtr.
*/
template <class IntT>
class ThreadCachedInt {
public:
Expand Down

0 comments on commit ad1fc80

Please sign in to comment.