Changeset 5643:26caa60db561 in roaraudio
- Timestamp:
- 09/11/12 15:50:50 (12 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r5641 r5643 10 10 (replaced by CPI) (Closes: #278) 11 11 * Changed default linkage model for ELF to indirect (Closes: #281) 12 * Updated VIO CMD to work around kernel bugs in Linux kernel. 12 13 13 14 v. 1.0beta5 - Mon Aug 20 2012 23:52 CEST -
libroar/vio_cmd.c
r5634 r5643 352 352 ROAR_DBG("roar_vio_cmd_read(*): max_fh=%i", max_fh); 353 353 354 if ( (ret = select(max_fh + 1, rfhs, wfhs, NULL, &tv)) == -1 ) 354 if ( (ret = select(max_fh + 1, rfhs, wfhs, NULL, &tv)) == -1 ) { 355 #ifdef EINTR 356 if ( errno == EINTR ) { 357 ROAR_DBG("roar_vio_cmd_read(*): Ooops. Something went wrong. (will try to continue)"); 358 continue; 359 } 360 #endif 361 #ifdef ERESTARTNOHAND 362 if ( errno == ERESTARTNOHAND ) { 363 ROAR_WARN("roar_vio_cmd_read(*): We hit a kernel bug. Haha! (will try to continue)"); 364 continue; 365 } 366 #endif 355 367 return -1; 368 } 356 369 357 370 ROAR_DBG("roar_vio_cmd_read(*): select(*) = %i", ret); … … 377 390 tp = tbuf; 378 391 tlen = 0; 379 if ( (tlen = roar_vio_read(state->next, tp, ROAR_VIO_CMD_BUFSIZE)) == -1 ) 392 if ( (tlen = roar_vio_read(state->next, tp, ROAR_VIO_CMD_BUFSIZE)) == -1 ) { 393 tlen = 0; 380 394 continue; 395 } 381 396 } 382 397
Note: See TracChangeset
for help on using the changeset viewer.