[svn:parrot] r40826 - trunk/src/pmc

NotFound at svn.parrot.org NotFound at svn.parrot.org
Thu Aug 27 14:42:40 UTC 2009


Author: NotFound
Date: Thu Aug 27 14:42:38 2009
New Revision: 40826
URL: https://trac.parrot.org/parrot/changeset/40826

Log:
[pmc] enable mutex destroy in scheduler

Modified:
   trunk/src/pmc/scheduler.pmc

Modified: trunk/src/pmc/scheduler.pmc
==============================================================================
--- trunk/src/pmc/scheduler.pmc	Thu Aug 27 13:14:53 2009	(r40825)
+++ trunk/src/pmc/scheduler.pmc	Thu Aug 27 14:42:38 2009	(r40826)
@@ -246,10 +246,7 @@
 */
     VTABLE void destroy() {
         Parrot_Scheduler_attributes * const core_struct = PARROT_SCHEDULER(SELF);
-        /* TT #946: this line is causing an order-of-destruction error
-           because the scheduler is being freed before it's tasks.
-           Commenting this out till we get a real fix (although it's a hack) */
-        /* MUTEX_DESTROY(core_struct->msg_lock); */
+        MUTEX_DESTROY(core_struct->msg_lock);
     }
 
 


More information about the parrot-commits mailing list