- Timestamp:
- Sep 22, 2017, 4:54:33 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 4cc9b13
- Parents:
- dbe7756
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/preemption.c
rdbe7756 re2f7bc3 328 328 siginfo_t info; 329 329 int sig = sigwaitinfo( &mask, &info ); 330 331 if( sig < 0 ) { 332 //Error! 333 int err = errno; 334 switch( err ) { 335 case EAGAIN : 336 case EINTR : 337 continue; 338 case EINVAL : 339 abortf("Timeout was invalid."); 340 default: 341 abortf("Unhandled error %d", err); 342 } 343 } 330 344 331 345 // If another signal arrived something went wrong
Note: See TracChangeset
for help on using the changeset viewer.