Changeset 499 for trunk/thune/urlan.c
- Timestamp:
- 12/05/07 03:12:00 (12 months ago)
- Files:
-
- 1 modified
-
trunk/thune/urlan.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/urlan.c
r474 r499 696 696 697 697 698 void _freeResources( UrlanEnv* env, UArray* arr )698 void _freeResources( const UrlanEnv* env, UArray* arr ) 699 699 { 700 700 if( arr->used ) … … 738 738 739 739 740 extern void ur_threadFree( UThread* ); 741 740 742 /** 741 743 Release all resources used by env. … … 749 751 return; 750 752 751 if( (thr = env->threads) ) 752 { 753 if( env->threads ) 754 { 755 mutexLock( env->mutex ); // LOCK_GLOBAL 756 757 thr = env->threads; 753 758 do 754 759 { … … 759 764 while( thr != env->threads ); 760 765 766 mutexUnlock( env->mutex ); // UNLOCK_GLOBAL 761 767 mutexFree( env->mutex ); 762 768 }
