Fix typo in ThreadData comment (#7131)

Summary:
Fix typo in ThreadData comment

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7131

Reviewed By: riversand963

Differential Revision: D22543135

Pulled By: jay-zhuang

fbshipit-source-id: 39c9d0e8cd5a364af9a2f05fd3783e8482dea976
main
yxj25245 4 years ago committed by Facebook GitHub Bot
parent 27735dea9a
commit e8d5a24815
  1. 2
      util/thread_local.cc

@ -29,7 +29,7 @@ class StaticMeta;
// global StaticMeta singleton. So if we instantiated 3 ThreadLocalPtr // global StaticMeta singleton. So if we instantiated 3 ThreadLocalPtr
// instances, each thread will have a ThreadData with a vector of size 3: // instances, each thread will have a ThreadData with a vector of size 3:
// --------------------------------------------------- // ---------------------------------------------------
// | | instance 1 | instance 2 | instnace 3 | // | | instance 1 | instance 2 | instance 3 |
// --------------------------------------------------- // ---------------------------------------------------
// | thread 1 | void* | void* | void* | <- ThreadData // | thread 1 | void* | void* | void* | <- ThreadData
// --------------------------------------------------- // ---------------------------------------------------

Loading…
Cancel
Save