/* spawn2.cvl: simple example of spawning two processes. * More difficult to reduce than spawn.cvl, because * both are accessing variables in the same scope. * civl verify -inputN=10 spawn2.cvl */ #include $input int N = 10; int s1, s2; void f1(int n) { s1 = 0; for (int i=0; i