Attached.
On 10/29/2009 04:12 PM, Brice Goglin wrote:
> What's in
> /radix-homes/software/com/packages/pgi-9.0-4/linux86-64/9.0-4/include/sched.h
> ?
>
> Brice
>
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
/*
* Copyright 2009, STMicroelectronics, Incorporated.
* All rights reserved.
*
* STMICROELECTRONICS, INCORPORATED PROPRIETARY INFORMATION
* This software is supplied under the terms of a license agreement
* or nondisclosure agreement with STMicroelectronics and may not be
* copied or disclosed except in accordance with the terms of that
* agreement.
*/
/*
Enable the __CPU definitons hidden by __USE_GNU
*/
#include_next<sched.h>
/* Access macros for `cpu_set'. */
#define CPU_SETSIZE __CPU_SETSIZE
#define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp)
#define CPU_CLR(cpu, cpusetp) __CPU_CLR (cpu, cpusetp)
#define CPU_ISSET(cpu, cpusetp) __CPU_ISSET (cpu, cpusetp)
#define CPU_ZERO(cpusetp) __CPU_ZERO (cpusetp)
#ifdef __cplusplus
extern "C" {
#endif
/* 3.3 and above version */
/* Set the CPU affinity for a task */
extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
__const cpu_set_t *__cpuset) __THROW;
/* Get the CPU affinity for a task */
extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
cpu_set_t *__cpuset) __THROW;
#ifdef __cplusplus
}
#endif