Changeset 9e339a8 in rtems


Ignore:
Timestamp:
Dec 6, 2017, 6:17:03 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9526b034
Parents:
3b446741
git-author:
Sebastian Huber <sebastian.huber@…> (12/06/17 18:17:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/06/17 18:18:55)
Message:

sptests/sp51: Delete semaphore after use

This ensures that the configured semaphore maximum is not exceeded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp51/init.c

    r3b446741 r9e339a8  
    102102    sc, RTEMS_NOT_OWNER_OF_RESOURCE, "rtems_semaphore_release" );
    103103
     104  sc = rtems_semaphore_delete( mutex );
     105  directive_failed( sc, "rtems_semaphore_delete" );
     106
    104107  test_create_initially_locked_prio_inherit_sema();
    105108
Note: See TracChangeset for help on using the changeset viewer.