Double-checked locking

Double-checked locking

Jesse Russell Ronald Cohn

     

бумажная книга



ISBN: 978-5-5137-9848-4

High Quality Content by WIKIPEDIA articles! In software engineering, double-checked locking (also known as "double-checked locking optimization".) is a software design pattern used to reduce the overhead of acquiring a lock by first testing the locking criterion (the "lock hint") without actually acquiring the lock. Only if the locking criterion check indicates that locking is required does the actual locking logic proceed.