Changeset c80f6aa9 in rtems
- Timestamp:
- 02/24/17 09:29:05 (7 years ago)
- Branches:
- 5, master
- Children:
- 06d14667
- Parents:
- 9fa0f54
- git-author:
- Sebastian Huber <sebastian.huber@…> (02/24/17 09:29:05)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (02/28/17 08:05:47)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libcsupport/src/termios.c
r9fa0f54 rc80f6aa9 1505 1505 * Wait for characters 1506 1506 */ 1507 if ( wait ) { 1508 rtems_status_code sc; 1509 1510 sc = rtems_semaphore_obtain( 1511 tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout); 1512 if (sc != RTEMS_SUCCESSFUL) 1507 if (wait) { 1508 if (tty->ccount < CBUFSIZE - 1) { 1509 rtems_status_code sc; 1510 1511 sc = rtems_semaphore_obtain( 1512 tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout); 1513 if (sc != RTEMS_SUCCESSFUL) 1514 break; 1515 } else { 1513 1516 break; 1517 } 1514 1518 } 1515 1519 } -
testsuites/libtests/termios09/init.c
r9fa0f54 rc80f6aa9 551 551 rtems_test_assert(dev->callback_counter == 5); 552 552 553 n = read(ctx->fds[i], buf, 255); 554 rtems_test_assert(n == 255); 555 553 556 dev->tty->tty_rcv.sw_pfn = NULL; 554 557 dev->tty->tty_rcv.sw_arg = NULL;
Note: See TracChangeset
for help on using the changeset viewer.