问题
问答题
有两个并发进程的程序如下: begin N: integer; N:=4 cobegin process A begin L1: N: =N+3; goto L1 end; process B begin L2: print (N); N: =0; goto L2 end; coend; end; 回答下列问题:
若process A先执行了2个循环后,process A和process B又执行了一个循环,写出可能出现的打印值。
答案
参考答案: