Changes in / [35ea4f3:02b73ea]
- Files:
-
- 3 edited
-
benchmark/io/http/protocol.cfa (modified) (1 diff)
-
libcfa/src/concurrency/kernel.cfa (modified) (1 diff)
-
libcfa/src/concurrency/mutex.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/protocol.cfa
r35ea4f3 r02b73ea 104 104 if( errno == EAGAIN || errno == EWOULDBLOCK) continue READ; 105 105 if( errno == ECONNRESET ) return [E408, true, 0, 0]; 106 if( errno == EPIPE ) return [E408, true, 0, 0];107 106 abort( "read error: (%d) %s\n", (int)errno, strerror(errno) ); 108 107 } -
libcfa/src/concurrency/kernel.cfa
r35ea4f3 r02b73ea 633 633 // abort cannot be recursively entered by the same or different processors because all signal handlers return when 634 634 // the globalAbort flag is true. 635 bool first = !__atomic_test_and_set( &kernel_abort_called, __ATOMIC_SEQ_CST);635 bool first = __atomic_test_and_set( &kernel_abort_called, __ATOMIC_SEQ_CST); 636 636 637 637 // first task to abort ? -
libcfa/src/concurrency/mutex.hfa
r35ea4f3 r02b73ea 42 42 }; 43 43 44 void ?{}(mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));45 void ^?{}(mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));46 void lock(mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));47 bool try_lock(mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));48 void unlock(mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));44 void ?{}(mutex_lock & this); 45 void ^?{}(mutex_lock & this); 46 void lock(mutex_lock & this); 47 bool try_lock(mutex_lock & this); 48 void unlock(mutex_lock & this); 49 49 50 50 // Exclusive lock - recursive … … 64 64 }; 65 65 66 void ?{}(recursive_mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));67 void ^?{}(recursive_mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));68 void lock(recursive_mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));69 bool try_lock(recursive_mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));70 void unlock(recursive_mutex_lock & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));66 void ?{}(recursive_mutex_lock & this); 67 void ^?{}(recursive_mutex_lock & this); 68 void lock(recursive_mutex_lock & this); 69 bool try_lock(recursive_mutex_lock & this); 70 void unlock(recursive_mutex_lock & this); 71 71 72 72 trait is_lock(dtype L | sized(L)) { … … 86 86 }; 87 87 88 void ?{}(condition_variable & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));89 void ^?{}(condition_variable & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));88 void ?{}(condition_variable & this); 89 void ^?{}(condition_variable & this); 90 90 91 void notify_one(condition_variable & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));92 void notify_all(condition_variable & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));91 void notify_one(condition_variable & this); 92 void notify_all(condition_variable & this); 93 93 94 void wait(condition_variable & this) __attribute__((deprecated("use concurrency/locks.hfa instead")));94 void wait(condition_variable & this); 95 95 96 96 forall(dtype L | is_lock(L)) 97 void wait(condition_variable & this, L & l) __attribute__((deprecated("use concurrency/locks.hfa instead")));97 void wait(condition_variable & this, L & l); 98 98 99 99 //-----------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.