Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1012

Re: My Reader-Writer Lock implementation. Need critics.

From Anton Sharov <ocaml@mail.ru>
Newsgroups comp.programming.threads
Subject Re: My Reader-Writer Lock implementation. Need critics.
Date 2012-08-22 00:17 -0700
Organization http://groups.google.com
Message-ID <1c8654e6-81d4-48c4-a478-29fdc7800670@googlegroups.com> (permalink)
References <691bffec-a5b7-4d43-9de4-7fbb755d4048@googlegroups.com> <1989186785365363299.237068rlc-vlinder.ca@reader.albasani.net>

Show all headers | View raw


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. 

Back to comp.programming.threads | Previous | NextPrevious in thread | Find similar


Thread

My Reader-Writer Lock implementation. Need critics. Anton Sharov <ocaml@mail.ru> - 2012-07-24 03:48 -0700
  Re: My Reader-Writer Lock implementation. Need critics. Ronald Landheer-Cieslak <rlc@vlinder.ca> - 2012-07-30 17:55 +0000
    Re: My Reader-Writer Lock implementation. Need critics. Anton Sharov <ocaml@mail.ru> - 2012-08-22 00:17 -0700

csiph-web