Click here to Skip to main content
15,918,404 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how can I debug this? Pin
Jay24-Nov-02 14:24
Jay24-Nov-02 14:24 
GeneralCEdit : Detect the VK_ENTER , VK_TAB+, VK_LF from a string Pin
youssef4-Nov-02 6:19
youssef4-Nov-02 6:19 
GeneralDetermining if SQL replication is enabled Pin
Andreas Saurwein4-Nov-02 5:39
Andreas Saurwein4-Nov-02 5:39 
GeneralCommunicate with function inside OS! Pin
tongc4-Nov-02 5:01
tongc4-Nov-02 5:01 
GeneralRe: Communicate with function inside OS! Pin
ian mariano4-Nov-02 6:50
ian mariano4-Nov-02 6:50 
GeneralGDI+ problemos Pin
Tim Stubbs4-Nov-02 4:42
Tim Stubbs4-Nov-02 4:42 
QuestionDisabling interrupt to achieve mutual exclusion? Pin
tongc4-Nov-02 2:22
tongc4-Nov-02 2:22 
AnswerRe: Disabling interrupt to achieve mutual exclusion? Pin
Phil Speller4-Nov-02 2:43
Phil Speller4-Nov-02 2:43 
Well, the first thing that springs to mind is that you can't arbitrate access to any external shared resources with this method e.g. shared RAM. However, the use of something like a Semaphore in the context of a multi-processor kernel would allow this. In general, it is always best to think twice about disabling interrupts to implement mutual exlusion since any time spent in this state will increase interrupt latency - which may not be desirable.



Phil
GeneralDialog Box question Pin
Pett4-Nov-02 2:15
Pett4-Nov-02 2:15 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 2:37
Gero Gerber4-Nov-02 2:37 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 3:01
Pett4-Nov-02 3:01 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 3:04
Gero Gerber4-Nov-02 3:04 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 3:22
Pett4-Nov-02 3:22 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 3:25
Gero Gerber4-Nov-02 3:25 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 3:32
Pett4-Nov-02 3:32 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 3:36
Gero Gerber4-Nov-02 3:36 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 3:51
Pett4-Nov-02 3:51 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 3:54
Gero Gerber4-Nov-02 3:54 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 3:56
Pett4-Nov-02 3:56 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 3:58
Gero Gerber4-Nov-02 3:58 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 3:36
Gero Gerber4-Nov-02 3:36 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 3:58
Pett4-Nov-02 3:58 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 4:01
Gero Gerber4-Nov-02 4:01 
GeneralRe: Dialog Box question Pin
Pett4-Nov-02 4:05
Pett4-Nov-02 4:05 
GeneralRe: Dialog Box question Pin
Gero Gerber4-Nov-02 4:07
Gero Gerber4-Nov-02 4:07 

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.