[Ns-bugs] [Bug 933] Flushing ostream and files on abnormal program exit (ASSERT, ABORT and FATAL_ERROR)
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Thu Jun 3 22:16:35 PDT 2010
http://www.nsnam.org/bugzilla/show_bug.cgi?id=933
--- Comment #16 from quincy.tse at gmail.com 2010-06-04 01:16:35 EDT ---
(In reply to comment #9)
> static void EnsureSegvHandlerRegistered (void)
> {
> ...
> }
I'm not sure what this function is used for. SIGSEGV handler is only required
for the duration of FlushStreams in case there are bad ostream*
> 2) in NS_FATAL_ERROR, call FlushStreams () before calling abort or terminate.
Not required as long as a handler had been registered to be triggered whenever
std::terminate() is called.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list