I have just done something really bad and am pretty sure it will be hard to get a new job if I never need one ;)

I have introduced a global read/write lock that can be configured to allow at most a single write request per time. It can also be configured to either allow read requests or disallow them while another request writes. However, this switch will have no effect when requests are done inside external transactions.

No more deadlocks or failed uploads could be observed with that switch. Also no starvations of requests... I will make it the default in Domain.xml.

While it may look like I am a complete idiot and all my work on TLocks and Sequences were in vain, they will become more useful in the future with a real concurrent Slide kernel. For now, they will at least be useful in externally controlled transactions.

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to