NVIDIA Interview Question

What are read-write semaphores and how does it degrade performance in a mulch-processor environment.

Interview Answer

Anonymous

Sep 15, 2011

Similar to the above question when one process A on a CPU 0 acquires a write lock on a semaphore variable then if other process B on CPU 1 has acquired a read lock (something like this) then there is flushing required of the cache! (Did not understand what the interviewer explained :) )