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


Groups > comp.programming.threads > #1729

Re: There is still a problem with SpinLock...

From aminer <aminer@toto.net>
Newsgroups comp.programming.threads, comp.programming
Subject Re: There is still a problem with SpinLock...
Date 2013-09-23 04:18 -0700
Organization albasani.net
Message-ID <l1othi$92q$1@news.albasani.net> (permalink)
References <l1ortb$5sm$1@news.albasani.net>

Cross-posted to 2 groups.

Show all headers | View raw


Hello,

I have asked you about Windows critical sections and the starvation
problem, and i have just read the following:


"The change to unfair locks clearly has the risk of leading to 
starvation.  But, statistically speaking, timing in concurrent systems 
tends to be so volatile that each thread will eventually get its turn to 
run, probabilistically speaking.  Many more programs would suffer from 
the convoy problems resulting from fair locks than would notice 
starvation happening in production systems as a result of unfair locks."

read here:

http://joeduffyblog.com/2006/12/14/anticonvoy-locks-in-windows-server-2003-sp1-and-windows-vista/


So as you have noticed the Windows critical section has become unfair
and since it has become unfair starvation can happen now with windows
critical section etc. so some threads may starve for a long time and 
this not acceptable i think, and not acceptable for me.


Thank you,
Amine Moulay Ramdane.










Back to comp.programming.threads | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

There is still a problem with SpinLock... aminer <aminer@toto.net> - 2013-09-23 03:51 -0700
  Re: There is still a problem with SpinLock... aminer <aminer@toto.net> - 2013-09-23 04:18 -0700
  Re: There is still a problem with SpinLock... "Chris M. Thomasson" <no@spam.invalid> - 2013-09-23 11:39 -0700

csiph-web