Back to index

glibc  2.9
Defines
sched_setaffinity.c File Reference
#include <tls.h>
#include "../sched_setaffinity.c"

Go to the source code of this file.

Defines

#define RESET_VGETCPU_CACHE()

Define Documentation

#define RESET_VGETCPU_CACHE ( )
Value:
do {                       \
    asm volatile ("movl %0, %%fs:%P1\n\t"                            \
                "movl %0, %%fs:%P2"                                         \
                :                                                    \
                : "ir" (0), "i" (offsetof (struct pthread,                  \
                                        header.vgetcpu_cache[0])),          \
                  "i" (offsetof (struct pthread,                     \
                               header.vgetcpu_cache[1])));            \
  } while (0)

Definition at line 3 of file sched_setaffinity.c.