Re: PRIMES comparision
From: f0dder (f0dder_spicedham_at_flork.dk)
Date: 07/25/04
- Next message: Dunny: "Re: HLA v1.68 is now available"
- Previous message: f0dder: "Re: memory reading and writing"
- In reply to: wolfgang kern: "Re: PRIMES comparision"
- Next in thread: wolfgang kern: "Re: PRIMES comparision"
- Reply: wolfgang kern: "Re: PRIMES comparision"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 25 Jul 2004 23:50:56 +0200
wolfgang kern wrote:
> NT's are even more restrictive.
>
> I added the cli/sti-pair and gained a lot of speed in win98se,
> but I cannot see nor understand the reason for NT to behave
> "that" paranoid on this harmless instructions.
>
Because CLI/STI will allow you to take down the operating system,
something that cannot be allowed on NT. You could argue that it
should be allowed for administrators, but it would have to be
emulated like on 9x then...
Anyway, if you want almost the same kind of performance on NT,
you should use SetPriorityClass with REALTIME_PRIORITY_CLASS
and SetThreadPriority with THREAD_PRIORITY_TIME_CRITICAL, it
will almost let you lock up NT (except for hardware IRQs), but
of course requirse admin privs. It won't fail with non-admin
privs though, it will just set the priority class to the
highest dynamic possible.
Easy to see why you think windows suck, though, if you've
never dealt with NT. Takes somewhat getting used to, but it's
a much better system.
- Next message: Dunny: "Re: HLA v1.68 is now available"
- Previous message: f0dder: "Re: memory reading and writing"
- In reply to: wolfgang kern: "Re: PRIMES comparision"
- Next in thread: wolfgang kern: "Re: PRIMES comparision"
- Reply: wolfgang kern: "Re: PRIMES comparision"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]