Changeset 391f6628 in rtems


Ignore:
Timestamp:
Feb 13, 1996, 3:38:37 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6ca1184
Parents:
b38955b
Message:

more comments added and existing ones cleaned up in synchronization paths

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/src/threadq.c

    rb38955b r391f6628  
    327327    case OBJECTS_LOCAL:
    328328      the_thread_queue = the_thread->Wait.queue;
     329
     330      /*
     331       *  If the_thread_queue is not synchronized, then it is either
     332       *  "nothing happened", "timeout", or "satisfied".   If the_thread
     333       *  is the executing thread, then it is in the process of blocking
     334       *  and it is the thread which is responsible for the synchronization
     335       *  process.
     336       *
     337       *  If it is not satisfied, then it is "nothing happened" and
     338       *  this is the "timeout" transition.  After a request is satisfied,
     339       *  a timeout is not allowed to occur.
     340       */
    329341
    330342      if ( the_thread_queue->sync_state != THREAD_QUEUE_SYNCHRONIZED &&
     
    715727    case THREAD_QUEUE_NOTHING_HAPPENED:
    716728      /*
    717        *  All of this was dealt with above.  This should never happen.
     729       *  This should never happen.  All of this was dealt with above.
    718730       */
    719731      break;
  • cpukit/score/src/threadq.c

    rb38955b r391f6628  
    327327    case OBJECTS_LOCAL:
    328328      the_thread_queue = the_thread->Wait.queue;
     329
     330      /*
     331       *  If the_thread_queue is not synchronized, then it is either
     332       *  "nothing happened", "timeout", or "satisfied".   If the_thread
     333       *  is the executing thread, then it is in the process of blocking
     334       *  and it is the thread which is responsible for the synchronization
     335       *  process.
     336       *
     337       *  If it is not satisfied, then it is "nothing happened" and
     338       *  this is the "timeout" transition.  After a request is satisfied,
     339       *  a timeout is not allowed to occur.
     340       */
    329341
    330342      if ( the_thread_queue->sync_state != THREAD_QUEUE_SYNCHRONIZED &&
     
    715727    case THREAD_QUEUE_NOTHING_HAPPENED:
    716728      /*
    717        *  All of this was dealt with above.  This should never happen.
     729       *  This should never happen.  All of this was dealt with above.
    718730       */
    719731      break;
Note: See TracChangeset for help on using the changeset viewer.