Click here to Skip to main content
14,697,729 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 6:20
Membertrønderen20-Oct-20 6:20 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 2:42
MemberForNow20-Oct-20 2:42 
GeneralRe: Abort Retry and Ignore and SEH Pin
Richard MacCutchan20-Oct-20 3:50
mveRichard MacCutchan20-Oct-20 3:50 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 4:14
MemberForNow20-Oct-20 4:14 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 4:32
professionalGreg Utas20-Oct-20 4:32 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 6:10
MemberForNow20-Oct-20 6:10 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 7:11
professionalGreg Utas20-Oct-20 7:11 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 6:40
Membertrønderen20-Oct-20 6:40 
Greg Utas wrote:
If you retry, what makes you think the outcome will be any different?
Just retrying blindly usually makes little sense. However, the handler may have taken steps to remedy the situation.

Say if you have this (instruction level) memory allocation mechanism, failing because no free block of the requested size was available. The handler could do a heap compaction, and if that fails to create a big enough free block, allocate more memory to the heap from a lower level mechanism, and then request the application to retry the allocation instruction.

Any handler trying to remedy a fault situation (whether at instruction level or higher software level) should keep track of the retries. If the same fault occurs repeatedly, retries should be reconsidered. I have seen several examples where such strategies were followed, e.g. in telephone switches where software modules where updated while the system was running: If an updated module caused a fault for the third time, the previous (and presumably stable) version was automatically reinstated.

(In some areas, computer network guys could learn a few things from the telecom guys! It is a pity that IP networks are pushing out traditional telecom networks before we got ourselves to pick up that knowledge before it is forgotten!)
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 7:19
professionalGreg Utas20-Oct-20 7:19 
QuestionEACCES file from Ftpfolder Pin
ForNow16-Oct-20 4:47
MemberForNow16-Oct-20 4:47 
SuggestionRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 5:05
mveRichard MacCutchan16-Oct-20 5:05 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 5:19
MemberForNow16-Oct-20 5:19 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 6:08
mveRichard MacCutchan16-Oct-20 6:08 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 6:44
MemberForNow16-Oct-20 6:44 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 6:46
mveRichard MacCutchan16-Oct-20 6:46 
QuestionRPC interface does not work correctly Pin
CopWorker13-Oct-20 1:05
MemberCopWorker13-Oct-20 1:05 
AnswerRe: RPC interface does not work correctly Pin
Victor Nijegorodov13-Oct-20 1:49
MemberVictor Nijegorodov13-Oct-20 1:49 
GeneralRe: RPC interface does not work correctly Pin
CopWorker13-Oct-20 2:34
MemberCopWorker13-Oct-20 2:34 
Questionstd::cout inside of object Pin
_Flaviu11-Oct-20 4:11
Member_Flaviu11-Oct-20 4:11 
AnswerRe: std::cout inside of object Pin
Victor Nijegorodov11-Oct-20 5:25
MemberVictor Nijegorodov11-Oct-20 5:25 
QuestionRe: std::cout inside of object Pin
David Crow11-Oct-20 5:58
MemberDavid Crow11-Oct-20 5:58 
AnswerRe: std::cout inside of object Pin
Richard MacCutchan11-Oct-20 6:10
mveRichard MacCutchan11-Oct-20 6:10 
GeneralRe: std::cout inside of object Pin
_Flaviu11-Oct-20 6:50
Member_Flaviu11-Oct-20 6:50 
GeneralRe: std::cout inside of object Pin
Randor 11-Oct-20 9:24
professional Randor 11-Oct-20 9:24 
GeneralRe: std::cout inside of object Pin
Victor Nijegorodov11-Oct-20 21:13
MemberVictor Nijegorodov11-Oct-20 21:13 

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.