score: Add function to destroy SMP locks

This commit is contained in:
Sebastian Huber
2014-03-07 12:53:41 +01:00
parent d50acdbb6c
commit 28779c70ff
9 changed files with 78 additions and 7 deletions

View File

@@ -445,6 +445,7 @@ rtems_termios_close (void *arg)
if ((tty->device.pollRead == NULL) ||
(tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))
rtems_semaphore_delete (tty->rawInBuf.Semaphore);
rtems_interrupt_lock_destroy (&tty->interrupt_lock);
free (tty->rawInBuf.theBuf);
free (tty->rawOutBuf.theBuf);
free (tty->cbuf);