Pergunta de entrevista da empresa NVIDIA

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

Resposta da entrevista

Sigiloso

15 de set. de 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 :) )