Pergunta de entrevista da empresa Dgraph Labs

Polling and busy waiting, identify provided the code snippets, which one is what.