Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
changeset 288:c7142d15fc40 Dev_ML
Switched order of lock release inside PR_SS end process normally
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 05 Sep 2013 18:05:11 -0700 |
| parents | 15ee3fe10e3d |
| children | 744b5ff9851e |
| files | PR__SS.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/PR__SS.c Thu Sep 05 17:38:19 2013 -0700 1.2 +++ b/PR__SS.c Thu Sep 05 18:05:11 2013 -0700 1.3 @@ -387,8 +387,8 @@ 1.4 { 1.5 pthread_mutex_lock( &(_PRTopEnv->activityDoneLock) ); 1.6 _PRTopEnv->allActivityIsDone = TRUE; 1.7 + pthread_cond_broadcast( &(_PRTopEnv->activityDoneCond) ); 1.8 pthread_mutex_unlock( &(_PRTopEnv->activityDoneLock) ); 1.9 - pthread_cond_broadcast( &(_PRTopEnv->activityDoneCond) ); 1.10 } 1.11 } 1.12
