File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ namespace pthread {
136136 */
137137 cv_status wait_for (mutex &mtx, int millis);
138138
139- /* * Wait for condition to be signaled within given time frame.
139+ /* * NOSONAR Wait for condition to be signaled within given time frame.
140140 *
141141 * The method uses the lock_guard's mutex to execute.
142142 *
@@ -207,7 +207,7 @@ namespace pthread {
207207 * @throw condition_variable_exception if the call to pthread_cond_broadcast return value is different from 0 (zero)
208208 * @see pthread_cond_broadcast
209209 */
210- void notify_all () noexcept ;
210+ void notify_all ();
211211
212212 /* *
213213 * not copy-assignable
Original file line number Diff line number Diff line change @@ -52,11 +52,7 @@ namespace pthread {
5252 }
5353 }
5454
55- #if __cplusplus < 201103L
56- void condition_variable::notify_all () throw(){
57- #else
58- void condition_variable::notify_all () noexcept {
59- #endif
55+ void condition_variable::notify_all () {
6056 int rc = pthread_cond_broadcast ( &_condition );
6157 if ( rc != 0 ){
6258 throw condition_variable_exception{" notify_all failed." , rc};
You can’t perform that action at this time.
0 commit comments