Pergunta de entrevista da empresa Qualcomm

What problems can you have with synchronization?

Resposta da entrevista

Sigiloso

24 de fev. de 2010

If you fail to properly synchronize you can read stale data on another processor, have collisions where two values get written and it isn't determinate which value will then be there. If you synchronize incorrectly you can cause deadlocks by taking locks in the wrong order, sleeping while holding a lock, or just cause bad performance by causing bottlenecks on the lock.