Pregunta de entrevista de Microsoft

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

Respuestas de entrevistas

Anónimo

25 ago 2010

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

Anónimo

20 oct 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!