This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: waiting for approval


 I looked up SetUnhandledExceptionFilter on Microsoft's site again.  It is
pretty clear that a single call should be sufficient for the whole process,
and thus it doesn't matter whether the call is repeated here or not.  On the
other hand, it appeared to be broken in some now ancient MS release.

In the interest of backward compatibility, I'd be inclined to leave it the
way it is, eventhough I agree it's inconsistent.

Hans

-----Original Message-----
From: Adam Megacz
To: Boehm, Hans
Cc: 'java-patches@gcc.gnu.org '
Sent: 2/6/02 11:00 AM
Subject: Re: waiting for approval


Boehm, Hans" <hans_boehm@hp.com> writes:
> Probably the right thing to do is to check for and ignore duplicates
> whenever a thread is added to the thread table, and to deal with
> duplicate removals correspondingly.  This may only be a performance
> issue.  If it actually works with dynamic libraries, I'd be happy if
> you just add a FIX ME comment for now.

By the way, I noticed that if a thread is added to the thread table
using CreateThread, and incremental GC is enabled,
SetUnhandledExceptionFilter() never gets called for the thread (as it
does if the thread is registered via DLL_THREAD_ATTACH)...

Is this the way it is supposed to work?

  - a


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