Of course databases are the "usual" way to share state between concurrent processes. All the hard problems are already solved that way...
$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";
In reply to Re^2: Threads or Forking?
by mugwumpjism
in thread Threads or Forking?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |