Difference between revisions of "User:DavidJCobb/Stack dumping"
m
→Process a task OnHit, without outright discarding concurrent calls
imported>DavidJCobb m (→Code snippets: combined two functionally-identical snippets) |
imported>DavidJCobb |
||
Line 81: | Line 81: | ||
Function DoProcess() | Function DoProcess() | ||
If pbBusy ; This is a concurrent call. | If pbBusy ; This is a concurrent call. We need to block it. | ||
piBlocked += 1 ; Keep track of | piBlocked += 1 ; Keep track of how many such calls we've blocked; we'll act on them all later. | ||
Return | Return | ||
EndIf | EndIf |