Changeset c838e2f4 in rtems for cpukit/posix/src/condinit.c


Ignore:
Timestamp:
Jul 28, 2010, 8:39:48 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
57c841e9
Parents:
ec6a5a1
Message:

2010-07-28 Vinu Rajashekhar <vinutheraj@…>

  • posix/src/condinit.c, posix/src/condwaitsupp.c, posix/src/psignalunblockthread.c: Clean up some signal interruption code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/condinit.c

    rec6a5a1 rc838e2f4  
    4545   *  Be careful about attributes when global!!!
    4646   */
    47 
    4847  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )
    4948    return EINVAL;
     
    6564  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;
    6665
    67 /* XXX some more initialization might need to go here */
    6866  _Thread_queue_Initialize(
    6967    &the_cond->Wait_queue,
    7068    THREAD_QUEUE_DISCIPLINE_FIFO,
    71     STATES_WAITING_FOR_CONDITION_VARIABLE,
     69    STATES_WAITING_FOR_CONDITION_VARIABLE | STATES_INTERRUPTIBLE_BY_SIGNAL,
    7270    ETIMEDOUT
    7371  );
Note: See TracChangeset for help on using the changeset viewer.