- File:
-
- 1 edited
-
libcfa/src/concurrency/locks.hfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/locks.hfa
r7636fcc rbbe3719 177 177 }; 178 178 179 static inline void ?{}(fast_lock & this) __attribute__((deprecated("use linear_backoff_then_block_lock instead")));180 179 static inline void ?{}(fast_lock & this) { this.owner = 0p; } 181 180 … … 185 184 } 186 185 187 static inline void lock( fast_lock & this ) __attribute__(( deprecated("use linear_backoff_then_block_lock instead"),artificial));186 static inline void lock( fast_lock & this ) __attribute__((artificial)); 188 187 static inline void lock( fast_lock & this ) { 189 188 thread$ * thrd = active_thread(); … … 196 195 } 197 196 198 static inline bool try_lock( fast_lock & this ) __attribute__(( deprecated("use linear_backoff_then_block_lock instead"),artificial));197 static inline bool try_lock( fast_lock & this ) __attribute__((artificial)); 199 198 static inline bool try_lock ( fast_lock & this ) { 200 199 thread$ * thrd = active_thread(); … … 203 202 } 204 203 205 static inline thread$ * unlock( fast_lock & this ) __attribute__(( deprecated("use linear_backoff_then_block_lock instead"),artificial));204 static inline thread$ * unlock( fast_lock & this ) __attribute__((artificial)); 206 205 static inline thread$ * unlock( fast_lock & this ) { 207 206 /* paranoid */ verify(active_thread() == this.owner);
Note:
See TracChangeset
for help on using the changeset viewer.