This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Interleaving pthread_cleanups in C and C++


> From: Alexandre Oliva <aoliva@redhat.com>
> Date: 06 May 2003 02:09:04 -0300

> On May  6, 2003, Geoff Keating <geoffk@geoffk.org> wrote:
> 
> >> From: Alexandre Oliva <aoliva@redhat.com>
> >> Date: 05 May 2003 22:30:46 -0300
> 
> >> On May  5, 2003, Geoff Keating <geoffk@geoffk.org> wrote:
> >> 
> >> > On the other hand, suppose that try/finally does eventually get
> >> > standardized... differently to the way that we implemented it.
> >> 
> >> How likely is it that the standards would define it differently from
> >> what several compilers already implement, just for the fun of it?
> 
> > Moderate.
> 
> Do you think they'd define __try/__finally, as opposed to try/finally?

They might have a <stdtry.h> header that imports try/finally; or they
might go with __try/__finally; or they might decide that it's not
worth the effort to standardize, or belongs in a separate standard
about C/C++ interaction.  It's impossible to tell without trying it.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]