Permalink
Browse files

[pmc] enable mutex destroy in scheduler

git-svn-id: https://svn.parrot.org/parrot/trunk@40826 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 00b4763 commit 7af05965fb0d3968354c7ad0183672b28d7488d9 @NotFound NotFound committed Aug 27, 2009
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/pmc/scheduler.pmc
@@ -246,10 +246,7 @@ Frees the scheduler's underlying struct.
*/
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);
}

0 comments on commit 7af0596

Please sign in to comment.