-
公开(公告)号:CA2322613A1
公开(公告)日:2002-04-06
申请号:CA2322613
申请日:2000-10-06
Applicant: IBM CANADA
Inventor: LYLE ROBERT W , WINER MICHAEL J , SACHEDINA AAMER , HURAS MATTHEW A
Abstract: A stealable latch mechanism for programming environments supporting concurre nt tasks. The latch mechanism has a function for providing a latch to a requesting task, a function for a task holding a latch to release the held latch, a function for a task holding a latch to ma rk the held latch stealable, and a function for a task holding a latch marked stealable to mark the latch unstealable where the held latch is not marked stolen by another task. The function for providing a latch to a requesting task provides that the requesting task will receive on request a latch marke d stealable and held by a holding task. Any resources associated with the stealable latch are placed in a consistent state prior to the requesting task accessing the resources.