# HG changeset patch # User Sean Halle # Date 1378429511 25200 # Node ID c7142d15fc408606b22c733ddaa9f9038b7ef7bd # Parent 15ee3fe10e3d4c6e58d8c48700c12ad0ac75547e Switched order of lock release inside PR_SS end process normally diff -r 15ee3fe10e3d -r c7142d15fc40 PR__SS.c --- a/PR__SS.c Thu Sep 05 17:38:19 2013 -0700 +++ b/PR__SS.c Thu Sep 05 18:05:11 2013 -0700 @@ -387,8 +387,8 @@ { pthread_mutex_lock( &(_PRTopEnv->activityDoneLock) ); _PRTopEnv->allActivityIsDone = TRUE; + pthread_cond_broadcast( &(_PRTopEnv->activityDoneCond) ); pthread_mutex_unlock( &(_PRTopEnv->activityDoneLock) ); - pthread_cond_broadcast( &(_PRTopEnv->activityDoneCond) ); } }