Previous | Next --- Slide 56 of 63
Back to Lecture Thumbnails
amolakn

This may seem a bit farfetched, but is there ever a chance for a race condition for the greedy policy? If there are 2 thread work queues that realize that another thread work queue is waiting, is there a chance for some race condition if they both try to steal the work block without any proper locking?

jmackama

I would think so, but I was under the impression that proper locking was a forgone conclusion in these examples.