Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 7af05965fb0d3968354c7ad0183672b28d7488d9 1 parent 00b4763
@NotFound NotFound authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/pmc/scheduler.pmc
View
5 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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.