Changeset 8c3c4822 in rtems


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

Use HAVE_DECL_PTHREAD_ATTR_GETCPUTIME, HAVE_DECL_PTHREAD_ATTR_SETCPUTIME.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psx07/init.c

    r90c8051a r8c3c4822  
    1212#include <pthread.h>
    1313#include <sched.h>
     14
     15#if !HAVE_DECL_PTHREAD_ATTR_GETCPUTIME
     16extern int pthread_attr_getcputime(
     17  pthread_attr_t  *attr,
     18  int             *clock_allowed);
     19#endif
     20
     21#if !HAVE_DECL_PTHREAD_ATTR_SETCPUTIME
     22extern int pthread_attr_setcputime(
     23  pthread_attr_t  *attr,
     24  int             clock_allowed);
     25#endif
    1426
    1527#define CONFIGURE_INIT
Note: See TracChangeset for help on using the changeset viewer.