Pergunta de entrevista da empresa Microsoft

Implement a lock-free queue/stack/... using atomic test-and-set functions.

Respostas da entrevista

Sigiloso

25 de ago. de 2010

Refer to MSDN for existing WinAPI atomic operations routines.. and existing lock-free functions :)

Sigiloso

20 de out. de 2010

YES, this is exactly what they expected! Otherwise, they may show you a screen from MSDN - you must read the description and be able to write a code utilizing this function. Really makes sense!