mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Fix comments for function ReCachePages
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
87a152c0eb
commit
912deb3978
@ -534,7 +534,7 @@ void DocumentData::Shuffle() {
|
||||
}
|
||||
}
|
||||
|
||||
// Locks the pages_mutex_ and Loads as many pages can fit in max_memory_
|
||||
// Locks the pages_mutex_ and loads as many pages as will fit into max_memory_
|
||||
// starting at index pages_offset_.
|
||||
bool DocumentData::ReCachePages() {
|
||||
std::lock_guard<std::mutex> lock(pages_mutex_);
|
||||
|
@ -250,7 +250,7 @@ private:
|
||||
std::lock_guard<std::mutex> lock(general_mutex_);
|
||||
memory_used_ = memory_used;
|
||||
}
|
||||
// Locks the pages_mutex_ and Loads as many pages can fit in max_memory_
|
||||
// Locks the pages_mutex_ and loads as many pages as will fit into max_memory_
|
||||
// starting at index pages_offset_.
|
||||
bool ReCachePages();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user