Purging one or more latches (ISGLPRG and ISGLPR64 services)

Your application's resource manager can call the Latch_Purge service to purge all granted and pending requests for a particular requestor within a specific latch set. Latch_Purge is particularly useful when a task or address space is terminating, and you want to release latches that were obtained by a terminating task or programs that are running in a terminating address space. For information about how to call Latch_Purge, see Providing recovery for the latch manager.