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/posix/src/semaphoredeletesupp.c

    r928d455 r90f1265  
    3737  if ( !the_semaphore->linked && !the_semaphore->open_count ) {
    3838    _Objects_Close( &_POSIX_Semaphore_Information, &the_semaphore->Object );
    39     _CORE_semaphore_Flush( &the_semaphore->Semaphore, -1, NULL, 0 );
     39    _CORE_semaphore_Destroy( &the_semaphore->Semaphore, NULL, 0 );
    4040    _POSIX_Semaphore_Free( the_semaphore );
    4141  }
Note: See TracChangeset for help on using the changeset viewer.