Buscar

What is the danger of two threads executing simultaneously without blocking or synchronization, according to the presented text? a) The result of...

What is the danger of two threads executing simultaneously without blocking or synchronization, according to the presented text?


a) The result of the operation may be incorrect.
b) The program may crash.
c) The threads may deadlock.
d) The threads may starve.

Essa pergunta também está no material:

Sistemas Distribuídos e Computação Paralela - Tema 02
65 pág.

Empreendedorismo Universidade Norte do ParanáUniversidade Norte do Paraná

💡 1 Resposta

User badge image

Ed Verified user icon

De acordo com o texto apresentado, o perigo de duas threads executarem simultaneamente sem bloqueio ou sincronização é que o resultado da operação pode ser incorreto. Portanto, a alternativa correta é a letra a) "O resultado da operação pode ser incorreto".

0
Dislike0

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais