[RTEMS Project] #2319: _Objects_Allocator_unlock in sem_unlink() is missing

RTEMS trac trac at rtems.org
Tue Apr 14 19:11:23 UTC 2015


#2319: _Objects_Allocator_unlock in sem_unlink() is missing
------------------------------+---------------------
 Reporter:  systec-dk         |       Owner:
     Type:  defect            |      Status:  closed
 Priority:  normal            |   Milestone:  4.11
Component:  General           |     Version:  4.11
 Severity:  normal            |  Resolution:  fixed
 Keywords:  POSIX sem_unlink  |
------------------------------+---------------------
Changes (by joel.sherrill):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 I am not sure why this didn't update with these commits so closing by
 hand.

 commit 1047f37cac02909b33d16462f14dc5f45e98d376
 Author: Joel Sherrill <joel.sherrill at oarcorp.com>
 Date:   Tue Apr 14 12:11:51 2015 -0500

     semdestroy.c: Add missing _Objects_Allocator_unlock()

     closes 2319.

 commit 5049dca6c5dfdac12daadbf07385dc3ab006b51e
 Author: Daniel Krueger <daniel.krueger at systec-electronic.com>
 Date:   Fri Mar 13 12:54:16 2015 +0000

     semunlink.c: Add missing _Objects_Allocator_unlock()

     updates 2319.

     Signed-off-by: Daniel Krueger <daniel.krueger at systec-electronic.com>

 commit fc0756e8d9caf1155e2df1ad4a1282619c6668f1
 Author: Joel Sherrill <joel.sherrill at oarcorp.com>
 Date:   Tue Apr 14 10:01:05 2015 -0500

     Add test assertion for allocator mutex being unlocked

     The Allocator Mutex should not be locked outside a tested
     service call. In an SMP test or heavily multithreaded test,
     this is possible since another thread could have the lock
     for an extended period of time but this is not the norm
     for the tests.

     updates 2319.

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


More information about the bugs mailing list