From: Anton Sharov <oc...@mail.ru>
Date: Wed, 22 Aug 2012 00:17:07 -0700 (PDT)
Local: Wed, Aug 22 2012 3:17 am
Subject: Re: My Reader-Writer Lock implementation. Need critics.
Thank you very, very much for your response!
Nevertheless, I was doing task from PLP book and there were conditions to use TATAS approach and condition that if there are always readers then writers mustn't starve forever.
So _haswriter used to protect writers from starvation from infinitely many readers and _lock used to guarantee mutual exclusion between writers.
Thank you once again for your response and critical view.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.