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


Groups > comp.programming > #4855

Re: Scalable locks...

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Ramine <ramine@1.1>
Newsgroups comp.programming
Subject Re: Scalable locks...
Date Thu, 23 Oct 2014 12:05:40 -0700
Organization A noiseless patient Spider
Lines 32
Message-ID <m2b8vc$3ti$1@dont-email.me> (permalink)
References <m26lj4$8fu$1@dont-email.me> <m26n9h$dj3$1@dont-email.me> <KLB1w.504226$rb.451721@fx16.am4> <m2b7fa$u1i$1@dont-email.me> <kB92w.567960$3F6.516168@fx02.am4>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 23 Oct 2014 16:05:01 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="41fe296b01197a4f21931bddc5a904d6"; logging-data="4018"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KcAp6yjzyQWMEQY+mq9di"
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <kB92w.567960$3F6.516168@fx02.am4>
Cancel-Lock sha1:9P1hhkO1uSplYlbn/nWeKlmd9kA=
Xref csiph.com comp.programming:4855

Show key headers only | View raw


On 10/23/2014 8:59 AM, Richard Heathfield wrote:
> Ramine wrote:
>
>> On 10/21/2014 4:12 PM, Richard Heathfield wrote:
>>> Ramine wrote:
>>>
>>>> The Sleep(0) is on Windows, to give up he time slice.
>>>
>>> That's only necessary if you're running Win9x, and even then only if
>>> you've got a 16-bit application. I suggest you upgrade to a decent
>>> operating system (or, if you prefer, Windows 7).
>>
>> The problem shows on Windows 2008 server too, so i had
>> to use sleep(0) to correct the problem.
>
> Is it your claim, then, that Windows 2008 server uses co-operative
> multitasking rather than pre-emptive?
>

the problem shows on pre-emptive operating system like Windows 2008 
server, i have explained to you why, and i have used sleep(0) and
it has worked correctly.




Amine Moulay Ramdane.




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


Thread

Scalable locks... Ramine <ramine@1.1> - 2014-10-21 18:10 -0700
  Re: Scalable locks... Ramine <ramine@1.1> - 2014-10-21 18:39 -0700
    Re: Scalable locks... Richard Heathfield <invalid@see.sig.invalid> - 2014-10-22 00:12 +0100
      Re: Scalable locks... Ramine <ramine@1.1> - 2014-10-23 11:39 -0700
        Re: Scalable locks... Richard Heathfield <invalid@see.sig.invalid> - 2014-10-23 16:59 +0100
          Re: Scalable locks... Ramine <ramine@1.1> - 2014-10-23 12:05 -0700
          Re: Scalable locks... Kaz Kylheku <kaz@kylheku.com> - 2014-10-23 18:02 +0000
            Re: Scalable locks... Richard Heathfield <invalid@see.sig.invalid> - 2014-10-23 22:01 +0100

csiph-web