From 8738319366899892089
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ffc1e,df4db449f12da465
X-Google-Attributes: gidffc1e,public
X-Google-Thread: f78e5,df4db449f12da465
X-Google-Attributes: gidf78e5,public
From: Christopher Eltschka <celtschk@physik.tu-muenchen.de>
Subject: Re: set_new_handler
Date: 2000/05/12
Message-ID: <391AB9D2.207A3F05@physik.tu-muenchen.de>#1/1
X-Deja-AN: 622264700
Content-Transfer-Encoding: 7bit
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
References: <39193150.6863D1F6@tesco.net> <391A17A6.5AF70EF7@wizard.net>
X-Accept-Language: German/Germany, de-DE, German, de, en
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Trace: mail2news.demon.co.uk 958077047 mail2news:10695 mail2news mail2news.demon.co.uk
Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany)
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Mime-Version: 1.0
NNTP-Posting-Date: 11 May 2000 13:53:15 GMT
Newsgroups: comp.std.c++,comp.programming.threads

James Kuyper wrote:
> 
> Jonathan de Boyne Pollard wrote:
> >
> > Biju Thomas <b.thomas@attglobal.net> wrote:
> > > Jonathan de Boyne Pollard wrote:
> > > > Gil Shafriri <gilsh@microsoft.com> wrote:
> > > > > Does calling set_new_handler affects the whole process [or] just
> > > > > the calling thread ?
> > > >
> > > > The answer to the question is, to quote Ambassador Kosh, "yes".
> > >
> > > Since C++ standard doesn't say anything about threads, wouldn't it
> > > be better to consult the implementation documents?
> >
> > Only if one was seeking the answer to some other question.  The answer to the
> > above question is "yes".
> 
> The answer is "yes" only when asked in general; the answer for specific
> implementations can be different, and looking at the implementation's
> documentation is the appropriate way to find out what that answer is.

You mean there are implementations where set_new_handler
neither affects the whole process nor just the current thread?

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




