Autor Beitrag
Calculon
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Mo 05.11.07 13:50 
Das ist meine Frage. Habe dazu nix finden können.

Bsp.:
ProcessPriority=IDLE_PRIORITY_CLASS
ThreadPriority=THREAD_PRIORITY_ABOVE_NORMAL

Läuft mein Thread in meinem "Schnecken-Tempo-Prozess" jetzt auch Schnecken-Tempo oder läuft der unabghängig vom Prozess (also etwas höher als normal)?

Gruß

Calculon
--
Stefan.Buchholtz
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 612

WIN 2000, WIN XP, Mac OS X
D7 Enterprise, XCode, Eclipse, Ruby On Rails
BeitragVerfasst: Mo 05.11.07 14:07 
Die effektive Priorität eines Threads ergibt sich Prozess-Priorität modifiziert mit der Thread-Priorität. Dabei ist die Prozess-Priorität dominierend - bei deinem Beispiel ergibt sich eine effektive Priorität, die niedriger liegt als ein Standard-Thread (ProcessPriority=NORMAL_PRIORITY_CLASS, ThreadPriority=THREAD_PRIORITY_NORMAL).

Auf msdn2.microsoft.com/...ibrary/ms685100.aspx ist ein Tabelle.

Stefan

_________________
Ein Computer ohne Windows ist wie eine Schokoladentorte ohne Senf.
Calculon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Mo 05.11.07 14:12 
Stefan.Buchholtz hat folgendes geschrieben:
Die effektive Priorität eines Threads ergibt sich Prozess-Priorität modifiziert mit der Thread-Priorität. Dabei ist die Prozess-Priorität dominierend - bei deinem Beispiel ergibt sich eine effektive Priorität, die niedriger liegt als ein Standard-Thread

Ja, das haben Tests auch gezeigt. Vielen Dank für den Link! Wird sofort gebookmarked!

Gruß

Calculon
--