Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdal::ErrorHandler not thread safe #1637

Closed
abellgithub opened this issue Aug 3, 2017 · 0 comments
Closed

gdal::ErrorHandler not thread safe #1637

abellgithub opened this issue Aug 3, 2017 · 0 comments

Comments

@abellgithub
Copy link
Contributor

abellgithub commented Aug 3, 2017

The gdal::ErrorHandler, which is a singleton and gets used by multiple stages, is not threadsafe. Specifically, the log pointer stored in the error handler can get modified by more than one stage at a time or a stage can try to use the log while another is modifying it. This makes it difficult to make threadsafe PDAL code.

@abellgithub abellgithub changed the title Log can get shared across stages gdal::ErrorHandler not thread safe Aug 4, 2017
abellgithub added a commit that referenced this issue Aug 4, 2017
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

No branches or pull requests

1 participant