Back to index

glibc  2.9
Defines
tls.h File Reference
#include "../tls.h"

Go to the source code of this file.

Defines

#define TLS_GET_GS()   ({ int __seg; __asm ("movl %%gs, %0" : "=q" (__seg)); __seg; })
#define TLS_SET_GS(val)   __asm ("movl %0, %%gs" :: "q" (val))

Define Documentation

#define TLS_GET_GS ( )    ({ int __seg; __asm ("movl %%gs, %0" : "=q" (__seg)); __seg; })

Definition at line 27 of file tls.h.

#define TLS_SET_GS (   val)    __asm ("movl %0, %%gs" :: "q" (val))

Definition at line 29 of file tls.h.