Anonymous user
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 {
//
pari_printf("Code\n");
}
} else {
//
pari_printf("Rosetta\n");
}
|