LaKraven / LKSL

LaKraven Studios Standard Library
http://otapi.com
Other
51 stars 15 forks source link

`TLKReadWriteLock` deadlocks when a Read wants to be elevated to a Write/Exclusive. #92

Closed LaKraven closed 6 years ago

LaKraven commented 9 years ago

At present, Write/Exclusive lock behaviour is working just fine! You can Read from the Thread currently holding the Write/Exclusive lock.

The inverse (where a sole Read wants to become a Write lock) is not behaving itself! This needs to be resolved with some urgency, and the LKSL_LOCK_ALLEXCLUSIVE define in LKSL.Common.SyncObjs.pas needs to be removed once this issue is resolved.