Changeset c654b525 in rtems for cpukit/score/src/coremsgclose.c


Ignore:
Timestamp:
Apr 30, 2015, 11:18:45 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
cc18d7b
Parents:
f5d6c8b
git-author:
Sebastian Huber <sebastian.huber@…> (04/30/15 11:18:45)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/19/15 10:00:46)
Message:

score: Delete _CORE_message_queue_Flush_support()

Check the number of pending messages in _CORE_message_queue_Flush() to
avoid race conditions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/coremsgclose.c

    rf5d6c8b rc654b525  
    5050   */
    5151
    52   if ( the_message_queue->number_of_pending_messages != 0 )
    53     (void) _CORE_message_queue_Flush_support( the_message_queue );
     52  (void) _CORE_message_queue_Flush( the_message_queue );
    5453
    5554  (void) _Workspace_Free( the_message_queue->message_buffers );
Note: See TracChangeset for help on using the changeset viewer.