Skip to content

Looking for help solving a problem with thread-safety and XmpProperties::registerNs() #2064

Answered by clanmills
mallman asked this question in Q&A
Discussion options

You must be logged in to vote

@mallman Michael. Thank you for raising this topic. I believe we've spoken in the past. Welcome back. I think you might be in trouble here.

The most obvious point to make is, perhaps you have to avoid multi-threading in this case. What about multi-processing combined with multi-threading? If you can segment your data into collections of 1.0 and 1.1 files, you could process the collections in separate processes (both of which can be multi-threaded).

Exiv2 is fast. I have 80,000 images on my web-site and have scripts that occassionally read them all. I'm not bothered if they takes 2 or 3 hours to run. I've just run a little test on my 8 year old mac mini with a spinning disk. 50 images/seco…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@clanmills
Comment options

@mallman
Comment options

mallman Feb 3, 2022
Collaborator Author

@clanmills
Comment options

@mallman
Comment options

mallman Feb 4, 2022
Collaborator Author

Answer selected by clanmills
Comment options

You must be logged in to vote
1 reply
@mallman
Comment options

mallman Feb 4, 2022
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants