Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion My Reader-Writer Lock implementation. Need critics.
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Anton Sharov  
View profile  
 More options Aug 22 2012, 3:17 am
Newsgroups: comp.programming.threads
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.
Hello, Ronald!

Thank you very, very much for your response!
I'm so sorry for the month delay but it is smth strange with google groups mail
delivery system. After they have updated UI it has stopped to send me email notifications...

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.