This would be a nicer solution than holding down a key, but it'd be harder also.
It's pretty much the canonical producer consumer problem. The producing would be the thread that compared the new image to the old one to see if they are the same. This is time intensive. The consumer thread would be the thread that updated all image references if required.
This would be a nicer solution than holding down a key, but it'd be harder also.
It's pretty much the canonical producer consumer problem. The producing would be the thread that compared the new image to the old one to see if they are the same. This is time intensive. The consumer thread would be the thread that updated all image references if required.