Changes in libcfa/src/bits/locks.hfa [92e7631:ae66348]
- File:
-
- 1 edited
-
libcfa/src/bits/locks.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/locks.hfa
r92e7631 rae66348 139 139 } 140 140 141 static inline bool post(__bin_sem_t & this) with( this ) { 141 static inline void post(__bin_sem_t & this) with( this ) { 142 verify(__cfaabi_dbg_in_kernel()); 143 142 144 pthread_mutex_lock(&lock); 143 145 bool needs_signal = !signaled; … … 145 147 pthread_mutex_unlock(&lock); 146 148 147 if (needs_signal) pthread_cond_signal(&cond); 148 149 return needs_signal; 149 if (needs_signal) 150 pthread_cond_signal(&cond); 150 151 } 151 152 #endif
Note:
See TracChangeset
for help on using the changeset viewer.