Changeset 0e3f3fb in rtems


Ignore:
Timestamp:
Oct 27, 2009, 5:03:29 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
f32b613
Parents:
15a4f37c
Message:

Use HAVE_DECL_PTHREAD_ATTR_GETCPUTIME.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxhdrs/pthread36.c

    r15a4f37c r0e3f3fb  
    1515#include <pthread.h>
    1616
     17#if !HAVE_DECL_PTHREAD_ATTR_GETCPUTIME
     18extern int pthread_attr_getcputime(
     19  pthread_attr_t  *attr,
     20  int             *clock_allowed);
     21#endif
     22
    1723#ifndef _POSIX_THREAD_CPUTIME
    1824#error "rtems is supposed to have pthread_attr_getcputime"
Note: See TracChangeset for help on using the changeset viewer.