Changeset 714efce in rtems


Ignore:
Timestamp:
Feb 29, 2016, 4:25:42 PM (4 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
e65c45c
Parents:
04da96c7
git-author:
Joel Sherrill <joel@…> (02/29/16 16:25:42)
git-committer:
Joel Sherrill <joel@…> (04/14/16 21:28:10)
Message:

conddefaultattributes.c: Add default clock to structure.

File:
1 edited

Legend:

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

    r04da96c7 r714efce  
    77
    88/*
    9  *  COPYRIGHT (c) 1989-2007.
     9 *  COPYRIGHT (c) 1989-2007, 2016.
    1010 *  On-Line Applications Research Corporation (OAR).
    1111 *
     
    2020
    2121#include <pthread.h>
    22 #include <errno.h>
    2322
    2423#include <rtems/system.h>
    25 #include <rtems/score/watchdog.h>
    26 #include <rtems/posix/condimpl.h>
    27 #include <rtems/posix/muteximpl.h>
    2824
    2925/*
     
    3228
    3329const pthread_condattr_t _POSIX_Condition_variables_Default_attributes = {
    34   true,                      /* is_initialized */
    35   PTHREAD_PROCESS_PRIVATE    /* process_shared */
     30  .is_initialized = true,
     31  .clock          = CLOCK_REALTIME,
     32#if defined(_POSIX_THREAD_PROCESS_SHARED)
     33  .process_shared = PTHREAD_PROCESS_PRIVATE
     34#endif
    3635};
Note: See TracChangeset for help on using the changeset viewer.