logo

Crowdly

Browser

Add to Chrome

Sean un productor y un consumidor de enteros que se comunican a través de un can...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Sean un productor y un consumidor de enteros que se comunican a través de un canal síncrono de comunicación ch. Una salida imposible será :

  

Channel of integer ch

producer

consumer                 

integer x ← 0

p1: while x < 2 

p2:    ch <= x 

p3:    print(“a”) 

p4:    x ← x + 1

integer y ← 0

q1: while y < 2 

q2:    ch => y 

q3:    print(“b”)

More questions like this

Want instant access to all verified answers on moodle.upm.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome