ameingast / cocoaimagehashing

Perceptual Image Hashing for macOS, iOS, tvOS and watchOS
Other
262 stars 66 forks source link

Use a semaphore to prevent congestion of hashing threads #3

Closed plumbojumbo closed 8 years ago

plumbojumbo commented 8 years ago

GCD fires up a new threads when others lock, which can lead to situations like this:

screen shot 2016-04-17 at 22 58 30

ameingast commented 8 years ago

Looks good, merging it in. Thanks for contributing!