Ignore:
Timestamp:
08/16/01 19:30:59 (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f879de5
Parents:
bfe5d15
Message:

2001-08-16 Joel Sherrill <joel@…>

  • src/mqueuesendsupp.c: Account for possibly blocking during the core send operation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/mqueuesendsupp.c

    rbfe5d15 raed5ae0  
    9292
    9393      _Thread_Enable_dispatch();
     94
     95      /*
     96       *  If we had to block, then this is where the task returns
     97       *  after it wakes up.  The returned status is correct for
     98       *  non-blocking operations but if we blocked, then we need
     99       *  to look at the status in our TCB.
     100       */
     101
     102      if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT )
     103        msg_status = _Thread_Executing->Wait.return_code;
     104
    94105      if ( !msg_status )
    95         return 0;
     106        return msg_status;
    96107
    97108      set_errno_and_return_minus_one(
Note: See TracChangeset for help on using the changeset viewer.