摘要 |
Provided are a method, system, and program for managing shared resources such as, for example, a transport offload engine of a network adapter having a plurality of ports and a driver for each port. Lock logic permits each driver or other user to set a flag to request use of the shared resource. A grant flag may be set by the lock logic if no other user is using the shared resource. The shared resource may be released following completion of an operation by setting a clear flag in the lock logic for the shared resource. |