glibc-sched.h File Reference

Macros to help interaction between libtopolopy and glibc scheduling routines. More...

#include <topology.h>
#include <topology/helper.h>

Go to the source code of this file.

Functions

static __inline__ void topo_cpuset_to_glibc_sched_affinity (topo_topology_t topology, const topo_cpuset_t *toposet, cpu_set_t *schedset, size_t schedsetsize)
 Convert libtopology CPU set toposet into glibc sched affinity CPU set schedset.
static __inline__ void topo_cpuset_from_glibc_sched_affinity (topo_topology_t topology, topo_cpuset_t *toposet, const cpu_set_t *schedset, size_t schedsetsize)
 Convert libtopology CPU set toposet into glibc sched affinity CPU set schedset.


Detailed Description

Macros to help interaction between libtopolopy and glibc scheduling routines.

Applications that use both libtopology and glibc scheduling routines such as sched_getaffinity may want to include this file so as to ease conversion between their respective types.


Generated on Fri Jul 3 19:00:23 2009 for libtopology by  doxygen 1.5.9