Jump to content

Concurrent computing: Difference between revisions

PARI
No edit summary
(PARI)
Line 615:
end
end</lang>
 
=={{omit fromheader|PARI/GP}}==
{{untested}}
This is a PARI implementation which uses <code>fork()</code> internally.
<lang C>void
foo()
{
if (pari_daemon()) {
// Original
if (pari_daemon()) {
// Original
pari_printf("Enjoy\n");
} else {
// Fork #2
pari_printf("Code\n");
}
 
} else {
// Fork #1
pari_printf("Rosetta\n");
}
}</lang>
 
=={{header|Perl}}==
Line 832 ⟶ 854:
 
{{Omit From|Metafont}}
{{omit from|PARI/GP}}
{{omit from|TI-83 BASIC}} {{omit from|TI-89 BASIC}} <!-- Does not have concurrency or background processes. -->
Cookies help us deliver our services. By using our services, you agree to our use of cookies.