lehitoskin / ivy

Ivy, the Taggable Image Viewer
GNU General Public License v3.0
16 stars 3 forks source link

Concurrent Metadata Writing #63

Closed lehitoskin closed 7 years ago

lehitoskin commented 7 years ago

Consider replacing the current image-path-hash-thread with semaphores.

Issues that come to mind:

In the Racket Guide, the initial example has semaphores for threads that print, but the order of the threads that execute appear to be in reverse order of creation.

lehitoskin commented 7 years ago

The semaphore example in the guide gives inconsistent results. If change is going to happen, a queue might be the better route.