2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>

PR 1662/filesystem
	* libcsupport/src/termios.c: osem is now released before attempt
	to delete in rtems_termios_close.
This commit is contained in:
Joel Sherrill
2010-08-10 22:15:32 +00:00
parent 8f0b33466b
commit 6e7ee0bd25
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>
PR 1662/filesystem
* libcsupport/src/termios.c: osem is now released before attempt
to delete in rtems_termios_close.
2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>
PR 1660/filesystem

View File

@@ -382,6 +382,7 @@ rtems_termios_close (void *arg)
rtems_fatal_error_occurred (sc);
}
drainOutput (tty);
rtems_semaphore_release (tty->osem);
}
if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {