[RTEMS Project] #2838: Termios task driven mode should use mutex for device operations

RTEMS trac trac at rtems.org
Fri Dec 16 10:29:42 UTC 2016


#2838: Termios task driven mode should use mutex for device operations
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  4.12
Component:  cpukit           |     Version:  4.11
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"c3764ce80588461d086e844e68002142dbd1ead9/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="c3764ce80588461d086e844e68002142dbd1ead9"
 termios: Use mutex for task driven mode

 Termios has a task driven mode (TERMIOS_TASK_DRIVEN). This mode aims to
 avoid long sections with disabled interrupts. This is only partly
 implemented since the device level state is still protected by disabled
 interrupts. Use a mutex to protect the device level state in task driven
 mode to fix this issue.

 Update #2838.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2838#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list