Click here to Skip to main content
15,897,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I don't inderstand these errors Pin
peterchen24-Jun-03 9:29
peterchen24-Jun-03 9:29 
GeneralRe: I don't inderstand these errors Pin
johnstonsk24-Jun-03 9:31
johnstonsk24-Jun-03 9:31 
GeneralRe: I don't inderstand these errors Pin
Anonymous24-Jun-03 9:52
Anonymous24-Jun-03 9:52 
GeneralMFC question: scrolling window Pin
Charles Léonard24-Jun-03 8:56
Charles Léonard24-Jun-03 8:56 
Generalhave code for icon association w/eVb and eVC++...but... Pin
shirleyLo24-Jun-03 8:46
shirleyLo24-Jun-03 8:46 
GeneralProcess vs. Thread priority. Pin
Simon Steele24-Jun-03 6:06
Simon Steele24-Jun-03 6:06 
GeneralRe: Process vs. Thread priority. Pin
valikac24-Jun-03 7:26
valikac24-Jun-03 7:26 
GeneralRe: Process vs. Thread priority. Pin
peterchen24-Jun-03 9:49
peterchen24-Jun-03 9:49 
The Base Priority of a thread is determined by both the process priority class, and the thread priority. It's just two different mechanisms (one to weight processes in the system, one to weight threads inside one process)

Thread 1 will (almost) always get scheduled first when both are waiting for an event or similar.
The scheduler always schedules the thread of the highest priority that is ready to run. So Thread 1 will starve thread 2, if it doesn't give up processor time or a second CPU is available.
The one exception is: Input goes to Thread 2. When input waits in the queue for a thread, it's priority is temporarily boosted.












"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS

sighist | Agile Programming | doxygen

Generalhelp to display pixels,many thanks. Pin
Anonymous24-Jun-03 6:01
Anonymous24-Jun-03 6:01 
GeneralRe: help to display pixels,many thanks. Pin
David Crow24-Jun-03 7:24
David Crow24-Jun-03 7:24 
GeneralRe: help to display pixels,many thanks. Pin
basementman24-Jun-03 9:01
basementman24-Jun-03 9:01 
GeneralRe: help to display pixels,many thanks. Pin
John M. Drescher24-Jun-03 16:21
John M. Drescher24-Jun-03 16:21 
GeneralCStatic keyboard events Pin
lync24-Jun-03 5:56
lync24-Jun-03 5:56 
GeneralRe: CStatic keyboard events Pin
David Crow24-Jun-03 7:13
David Crow24-Jun-03 7:13 
GeneralExtracting Resouorces from an MFC App Pin
Brian Delahunty24-Jun-03 5:33
Brian Delahunty24-Jun-03 5:33 
GeneralRe: Extracting Resouorces from an MFC App Pin
Navin24-Jun-03 10:49
Navin24-Jun-03 10:49 
GeneralRe: Extracting Resouorces from an MFC App Pin
Ryan Binns24-Jun-03 15:24
Ryan Binns24-Jun-03 15:24 
GeneralRe: Extracting Resouorces from an MFC App Pin
Brian Delahunty24-Jun-03 22:45
Brian Delahunty24-Jun-03 22:45 
QuestionHow to make my app cann't be seen from screen? Pin
Nguyen Huynh Hung24-Jun-03 4:39
Nguyen Huynh Hung24-Jun-03 4:39 
AnswerRe: How to make my app cann't be seen from screen? Pin
David Crow24-Jun-03 4:45
David Crow24-Jun-03 4:45 
AnswerRe: How to make my app cann't be seen from screen? Pin
Michael P Butler24-Jun-03 5:26
Michael P Butler24-Jun-03 5:26 
AnswerRe: How to make my app cann't be seen from screen? Pin
Toni7824-Jun-03 20:46
Toni7824-Jun-03 20:46 
GeneralRe: Size of File Pin
David Crow24-Jun-03 4:43
David Crow24-Jun-03 4:43 
GeneralRe: Size of File Pin
Valeria Bogdevich24-Jun-03 5:26
Valeria Bogdevich24-Jun-03 5:26 
GeneralRe: Size of File Pin
Jonathan Craig24-Jun-03 5:24
Jonathan Craig24-Jun-03 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.