Banker's algorithm: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) (→{{header|Perl 6}}: use hypers for array operations, tidying) |
SqrtNegInf (talk | contribs) m (→{{header|Perl 6}}: curly out of place) |
||
Line 1,001: | Line 1,001: | ||
@finish[p] = 1; # Mark this p as finished |
@finish[p] = 1; # Mark this p as finished |
||
$count += 1; |
$count += 1; |
||
$found = True |
$found = True |
||
} |
|||
} |
} |
||
} |
} |