Concurrent computing: Difference between revisions

m
→‎{{header|PARI/GP}}: also C, of course
m (→‎{{header|PARI/GP}}: also C, of course)
Line 618:
=={{header|PARI/GP}}==
{{untested|PARI/GP}}
This is a PARI implementation which uses <code>fork()</code> internally. Note that the [[#C|C]] solutions can be used instead if desired; this program demonstrates the native PARI capabilities instead.
<lang C>void
foo()
Line 628:
pari_printf("Enjoy\n");
} else {
// ForkDaemon #2
pari_printf("Code\n");
}
 
} else {
// ForkDaemon #1
pari_printf("Rosetta\n");
}