Pregunta de entrevista de Verkada

Implement a non-blocking API that wraps around a blocking API.

Respuesta de la entrevista

Anónimo

23 de mar de 2023

Use a producer/consumer thread to prevent blocking. Need mutex/semaphore to control resource access, obviously.