- File:
-
- 1 edited
-
libcfa/src/concurrency/mutex.cfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/mutex.cfa
r121be3e r2026bb6 11 11 // Author : Thierry Delisle 12 12 // Created On : Fri May 25 01:37:11 2018 13 // Last Modified By : Peter A. Buhr14 // Last Modified On : Wed Dec 4 09:16:39 201915 // Update Count : 113 // Last Modified By : Thierry Delisle 14 // Last Modified On : Fri May 25 01:37:51 2018 15 // Update Count : 0 16 16 // 17 17 … … 73 73 this.lock{}; 74 74 this.blocked_threads{}; 75 this.owner = 0p;75 this.owner = NULL; 76 76 this.recursion_count = 0; 77 77 } … … 83 83 void lock(recursive_mutex_lock & this) with(this) { 84 84 lock( lock __cfaabi_dbg_ctx2 ); 85 if( owner == 0p) {85 if( owner == NULL ) { 86 86 owner = kernelTLS.this_thread; 87 87 recursion_count = 1; … … 101 101 bool ret = false; 102 102 lock( lock __cfaabi_dbg_ctx2 ); 103 if( owner == 0p) {103 if( owner == NULL ) { 104 104 owner = kernelTLS.this_thread; 105 105 recursion_count = 1;
Note:
See TracChangeset
for help on using the changeset viewer.