Re: #pragma cancel_handler
- From: "Steve Richter" <StephenRichter@xxxxxxxxx>
- Date: 7 Nov 2006 11:51:48 -0800
Lew Pitcher wrote:
Steve Richter wrote:
Is there an ANSI C or GNU C equivalent to the #pragma cancel_handler
provided in IBM's ILE C compiler?
http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/com.ibm.etools.iseries.pgmgd.doc/cpprog436.htm
FWIW, according to the above link, a cancel_handler is a C++ feature.
Since this is comp.lang.C, we don't know about or discuss C++ features.
There certainly won't be an ANSI C equivalent to the #pragma
cancel_handler in ILE C, because that feature is not part of the C
language at all.
yeah, it does say that but I have used it in ILE C and it works as
documented. I dont follow. How does ANSI C handle exceptions? I am
reading about signal handlers in the Linux books I have but none of
them seem to deal with how to implement a try .... finally block.
-Steve
.
- Follow-Ups:
- Re: #pragma cancel_handler
- From: loic-dev
- Re: #pragma cancel_handler
- From: Cla
- Re: #pragma cancel_handler
- From: Eric Sosman
- Re: #pragma cancel_handler
- References:
- #pragma cancel_handler
- From: Steve Richter
- Re: #pragma cancel_handler
- From: Lew Pitcher
- #pragma cancel_handler
- Prev by Date: Re: #pragma cancel_handler
- Next by Date: Re: swap of two no.?????
- Previous by thread: Re: #pragma cancel_handler
- Next by thread: Re: #pragma cancel_handler
- Index(es):
Relevant Pages
|
|