Why can I not writeLock after ReadLock?

Esben Mose Hansen kde at mosehansen.dk
Sat Nov 13 14:07:56 UTC 2010


On Saturday 13 November 2010 14:52:40 Milian Wolff wrote:
> So not even QReadWriteLock has this implemented and the documentation is 
> simply lacking this big gotcha?

My guess is that it simply deadlocks in this situation. As you can also 
deadlock using 2 read locks, that is a reasonable tradeoff for a feature you 
might find useful. But the scenario you have described sounds like a dead end.

-- 
Kind regards, Esben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101113/76b0e2bf/attachment.html>


More information about the KDevelop-devel mailing list