[RTEMS Project] #2273: One Step Towards Fine Grained Locking

RTEMS trac trac at rtems.org
Wed Mar 4 11:05:31 UTC 2015

#2273: One Step Towards Fine Grained Locking
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  enhancement      |      Status:  accepted
 Priority:  normal           |   Milestone:  4.11.1
Component:  SMP              |     Version:  4.11
 Severity:  normal           |  Resolution:
 Keywords:                   |

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

 In [changeset:"e50297e36caf2c989a03825cc8589cd730c03389/rtems"]:
 #!CommitTicketReference repository="rtems"
 score: ISR lock C/C++ compatiblity issue

 Empty structures are implementation-defined in C.  GCC gives them a size
 of zero.  In C++ empty structures have a non-zero size.

 Add ISR_LOCK_DEFINE() to define ISR locks for structures used by C and

 Update #2273.

Ticket URL: <http://devel.rtems.org/ticket/2273#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list