Skip to content

Remove unused std::thread member from DocumentData class#4482

Open
ihhub wants to merge 1 commit intotesseract-ocr:mainfrom
ihhub:unused-std-thread-removal
Open

Remove unused std::thread member from DocumentData class#4482
ihhub wants to merge 1 commit intotesseract-ocr:mainfrom
ihhub:unused-std-thread-removal

Conversation

@ihhub
Copy link

@ihhub ihhub commented Dec 2, 2025

The presence of std::thread::join() causes extra dependencies on some exotic platforms like AIX. Moreover, having a member class that does nothing is waste of resources.

The corresponding method was renamed to reflect its nature as well as the comment related to the method.

The presence of std::thread::join() causes extra dependencies on some exotic platforms like AIX. Moreover, having a member class that does nothing is waste of resources.

The corresponding method was renamed to reflect its nature as well as the comment related to the method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant