Changeset 90f1265 in rtems for cpukit/rtems/src/semdelete.c


Ignore:
Timestamp:
Apr 18, 2016, 4:23:27 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ca18cb59
Parents:
928d455
git-author:
Sebastian Huber <sebastian.huber@…> (04/18/16 04:23:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/21/16 05:29:38)
Message:

score: Fix _CORE_semaphore_Flush()

Use proper CORE_semaphore_Status for _CORE_semaphore_Flush() and
_CORE_semaphore_Destroy() operations.

Close #2696.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/semdelete.c

    r928d455 r90f1265  
    7474        _CORE_mutex_Destroy( &the_semaphore->Core_control.mutex );
    7575      } else {
    76         _CORE_semaphore_Flush(
     76        _CORE_semaphore_Destroy(
    7777          &the_semaphore->Core_control.semaphore,
    78           CORE_SEMAPHORE_WAS_DELETED,
    7978          _Semaphore_MP_Send_object_was_deleted,
    8079          id
    8180        );
    82         _CORE_semaphore_Destroy( &the_semaphore->Core_control.semaphore );
    8381      }
    8482
Note: See TracChangeset for help on using the changeset viewer.