dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and to


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. 723b913fda4eb076fae18919cb5624ca78a308ee
Date: Wed, 05 Jan 2011 12:12:23 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET engine, compilers and tools (pnet)".

The branch, master has been updated
       via  723b913fda4eb076fae18919cb5624ca78a308ee (commit)
      from  0b2736ee5dc7e5e470e8a974a5f4826aea5e44a7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/pnet.git/commit/?id=723b913fda4eb076fae18919cb5624ca78a308ee

commit 723b913fda4eb076fae18919cb5624ca78a308ee
Author: Klaus Treichel <address@hidden>
Date:   Wed Jan 5 13:11:09 2011 +0100

    Remove the now unused members currentException and threadAbortException
    from ILExecThread.

diff --git a/ChangeLog b/ChangeLog
index 8ae249a..9db9c52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-05  Klaus Treichel  <address@hidden>
+
+       * engine/engine.h, engine/lib_thread.c, engine/thread.c: Remove
+       the now unused members currentException and threadAbortException from
+       ILExecThread.
+
 2011-01-04  Klaus Treichel  <address@hidden>
 
        * engine/cvm.c: Make the interpreter loop variables volatile again
diff --git a/engine/engine.h b/engine/engine.h
index 95c4723..a42a5b4 100644
--- a/engine/engine.h
+++ b/engine/engine.h
@@ -435,16 +435,9 @@ struct _tagILExecThread
        /* Flagged if the thread is running managed code */
        int             runningManagedCode;
 
-       /* The last exception that was thrown (as seen from the CVM)
-          This always stores the last exception thrown and is never reset */
-       ILObject        *currentException;
-
        /* Last exception that was thrown */
        ILObject       *thrownException;
 
-       /* The ThreadAbortException instance of the thread is being aborted */
-       ILObject        *threadAbortException;
-
        /* Flag that indicates whether a thread is aborting */
        volatile int    aborting;
 
diff --git a/engine/lib_thread.c b/engine/lib_thread.c
index 8876fcd..04d111a 100644
--- a/engine/lib_thread.c
+++ b/engine/lib_thread.c
@@ -417,7 +417,6 @@ void _IL_Thread_ResetAbort(ILExecThread *thread)
                ILInterlockedAndU4(&(thread->managedSafePointFlags),
                                                   
~_IL_MANAGED_SAFEPOINT_THREAD_ABORT);
                thread->aborting = 0;
-               thread->threadAbortException = 0;
        }
 }
 
diff --git a/engine/thread.c b/engine/thread.c
index 33ca79d..e424c80 100644
--- a/engine/thread.c
+++ b/engine/thread.c
@@ -316,7 +316,6 @@ int _ILExecThreadSelfAborting(ILExecThread *thread)
                        ILInterlockedAndU4(&(thread->managedSafePointFlags),
                                                           
~_IL_MANAGED_SAFEPOINT_THREAD_ABORT);
                        thread->aborting = 1;
-                       thread->threadAbortException = 0;
                        ILExecThreadSetException(thread, exception);
 
                        return 0;
@@ -662,10 +661,8 @@ ILExecThread *_ILExecThreadCreate(ILExecProcess *process, 
int ignoreProcessState
        thread->thrownException = 0;
        thread->threadStaticSlots = 0;
        thread->threadStaticSlotsUsed = 0;
-       thread->currentException = 0;
        thread->managedSafePointFlags = 0;
        thread->runningManagedCode = 0;
-       thread->threadAbortException = 0;
        thread->process = 0;
 
 #ifdef IL_CONFIG_APPDOMAINS

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |    6 ++++++
 engine/engine.h     |    7 -------
 engine/lib_thread.c |    1 -
 engine/thread.c     |    3 ---
 4 files changed, 6 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
DotGNU Portable.NET engine, compilers and tools (pnet)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]