Click here to Skip to main content
16,004,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to don't allow interruptions in a piece of code in VC++ Pin
timbk9-Mar-10 15:38
timbk9-Mar-10 15:38 
AnswerRe: how to don't allow interruptions in a piece of code in VC++ Pin
Luc Pattyn9-Mar-10 16:11
sitebuilderLuc Pattyn9-Mar-10 16:11 
GeneralRe: how to don't allow interruptions in a piece of code in VC++ Pin
timbk9-Mar-10 16:48
timbk9-Mar-10 16:48 
GeneralRe: how to don't allow interruptions in a piece of code in VC++ Pin
Luc Pattyn9-Mar-10 16:52
sitebuilderLuc Pattyn9-Mar-10 16:52 
GeneralRe: how to don't allow interruptions in a piece of code in VC++ Pin
timbk9-Mar-10 16:57
timbk9-Mar-10 16:57 
GeneralRe: how to don't allow interruptions in a piece of code in VC++ Pin
Luc Pattyn9-Mar-10 16:59
sitebuilderLuc Pattyn9-Mar-10 16:59 
GeneralRe: how to don't allow interruptions in a piece of code in VC++ Pin
timbk9-Mar-10 17:13
timbk9-Mar-10 17:13 
GeneralRe: how to don't allow interruptions in a piece of code in VC++ Pin
Luc Pattyn9-Mar-10 17:18
sitebuilderLuc Pattyn9-Mar-10 17:18 
When I was using Win98 (that is 10 years ago), PC hardware wasn't powerful enough to make floppy drives work reliably with interrupts, so each floppy access caused the entire system to temporarily freeze.

The realtime thread performing its polling loop will monopolize a CPU core.
If your system has a single-core CPU and you will set realtime priorities, the same will happen as on old systems with floppy activity; if you are running on dual-core or better, you might be all right with one thread at realtime, so other threads can still be swapped in and out to serve the user.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.

GeneralRe: how to don't allow interruptions in a piece of code in VC++ Pin
Luc Pattyn9-Mar-10 17:20
sitebuilderLuc Pattyn9-Mar-10 17:20 
AnswerRe: how to don't allow interruptions in a piece of code in VC++ Pin
Stuart Dootson9-Mar-10 21:03
professionalStuart Dootson9-Mar-10 21:03 
QuestionNumber of line in a Rect of Rich edit Pin
ForNow9-Mar-10 15:35
ForNow9-Mar-10 15:35 
AnswerRe: Number of line in a Rect of Rich edit Pin
Luc Pattyn9-Mar-10 17:04
sitebuilderLuc Pattyn9-Mar-10 17:04 
GeneralRe: Number of line in a Rect of Rich edit I put the pre tags in Pin
ForNow9-Mar-10 17:43
ForNow9-Mar-10 17:43 
QuestionModeless CPropertySheet destruction? Pin
Spawn@Melmac9-Mar-10 9:49
Spawn@Melmac9-Mar-10 9:49 
AnswerRe: Modeless CPropertySheet destruction? [modified] Pin
LunaticFringe9-Mar-10 12:43
LunaticFringe9-Mar-10 12:43 
AnswerRe: Modeless CPropertySheet destruction? Pin
Luc Pattyn9-Mar-10 13:54
sitebuilderLuc Pattyn9-Mar-10 13:54 
GeneralRe: Modeless CPropertySheet destruction? Pin
Spawn@Melmac10-Mar-10 6:17
Spawn@Melmac10-Mar-10 6:17 
QuestionStatic Library and Global Variables Pin
Ofer Gross9-Mar-10 8:46
Ofer Gross9-Mar-10 8:46 
AnswerRe: Static Library and Global Variables Pin
Avi Berger9-Mar-10 9:15
Avi Berger9-Mar-10 9:15 
GeneralRe: Static Library and Global Variables [modified] Pin
Ofer Gross9-Mar-10 10:32
Ofer Gross9-Mar-10 10:32 
QuestionPutting a Text File into a Directory with an Executable File Pin
eternaloptimist9-Mar-10 7:49
eternaloptimist9-Mar-10 7:49 
AnswerRe: Putting a Text File into a Directory with an Executable File Pin
Maximilien9-Mar-10 7:57
Maximilien9-Mar-10 7:57 
AnswerRe: Putting a Text File into a Directory with an Executable File Pin
«_Superman_»9-Mar-10 16:39
professional«_Superman_»9-Mar-10 16:39 
QuestionBeginner vector question.... Pin
Jacob Dixon9-Mar-10 7:28
Jacob Dixon9-Mar-10 7:28 
AnswerRe: Beginner vector question.... Pin
Maximilien9-Mar-10 7:52
Maximilien9-Mar-10 7:52 

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.