Click here to Skip to main content
15,906,947 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Old School Help Needed Pin
juglugs25-Jun-03 6:39
juglugs25-Jun-03 6:39 
GeneralRe: Old School Help Needed Pin
basementman24-Jun-03 11:12
basementman24-Jun-03 11:12 
GeneralPlotting wave files Pin
Juan Carlos Cobas24-Jun-03 10:36
Juan Carlos Cobas24-Jun-03 10:36 
GeneralCRichEditCtrl and Select All Functionality Pin
ScottPrusinoski24-Jun-03 10:05
ScottPrusinoski24-Jun-03 10:05 
Generalerror with creating a pointer to a struct Pin
johnstonsk24-Jun-03 9:53
johnstonsk24-Jun-03 9:53 
GeneralRe: error with creating a pointer to a struct Pin
Michael Dunn24-Jun-03 10:56
sitebuilderMichael Dunn24-Jun-03 10:56 
GeneralRe: error with creating a pointer to a struct Pin
basementman24-Jun-03 11:16
basementman24-Jun-03 11:16 
GeneralRe: error with creating a pointer to a struct Pin
John R. Shaw24-Jun-03 11:38
John R. Shaw24-Jun-03 11:38 
GeneralResource Editor Pin
butterbean73024-Jun-03 9:20
butterbean73024-Jun-03 9:20 
GeneralI don't inderstand these errors Pin
johnstonsk24-Jun-03 9:06
johnstonsk24-Jun-03 9:06 
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 

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.