Ignore:
Timestamp:
Aug 23, 2013, 9:52:01 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10
Children:
ab0da63e
Parents:
db99ce7c
git-author:
Sebastian Huber <sebastian.huber@…> (08/23/13 09:52:01)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/26/13 08:22:18)
Message:

score: PR2140: _Thread_queue_Extract()

Return if the executing context performed the extract operation since
interrupts may interfere.

File:
1 edited

Legend:

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

    rdb99ce7c r2077ae4c  
    4242 */
    4343
    44 void _Thread_queue_Extract(
     44bool _Thread_queue_Extract(
    4545  Thread_queue_Control *the_thread_queue,
    4646  Thread_Control       *the_thread
     
    5252   */
    5353  if  ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
    54     _Thread_queue_Extract_priority( the_thread_queue, the_thread );
     54    return _Thread_queue_Extract_priority( the_thread_queue, the_thread );
    5555  else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */
    56     _Thread_queue_Extract_fifo( the_thread_queue, the_thread );
     56    return _Thread_queue_Extract_fifo( the_thread_queue, the_thread );
    5757
    5858}
Note: See TracChangeset for help on using the changeset viewer.