diff options
author | Florian Weimer <fweimer@redhat.com> | 2015-10-17 12:06:48 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2015-10-17 12:06:48 +0200 |
commit | 6782806d8f6664d87d17bb30f8ce4e0c7c931e17 (patch) | |
tree | 801f82fe3599960755a3d253637afd843f2f0c12 /sysdeps/generic/malloc-machine.h | |
parent | db8ad8fac3ebdb6c68964f4d24185c2bd2c83342 (diff) | |
download | glibc-6782806d8f6664d87d17bb30f8ce4e0c7c931e17.tar glibc-6782806d8f6664d87d17bb30f8ce4e0c7c931e17.tar.gz glibc-6782806d8f6664d87d17bb30f8ce4e0c7c931e17.tar.bz2 glibc-6782806d8f6664d87d17bb30f8ce4e0c7c931e17.zip |
malloc: Rewrite with explicit TLS access using __thread
Diffstat (limited to 'sysdeps/generic/malloc-machine.h')
-rw-r--r-- | sysdeps/generic/malloc-machine.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/generic/malloc-machine.h b/sysdeps/generic/malloc-machine.h index 10f6e72eb2..802d1f5b43 100644 --- a/sysdeps/generic/malloc-machine.h +++ b/sysdeps/generic/malloc-machine.h @@ -40,13 +40,6 @@ typedef int mutex_t; # define mutex_unlock(m) (*(m) = 0) # define MUTEX_INITIALIZER (0) -typedef void *tsd_key_t; -# define tsd_key_create(key, destr) do {} while(0) -# define tsd_setspecific(key, data) ((key) = (data)) -# define tsd_getspecific(key, vptr) (vptr = (key)) - -# define thread_atfork(prepare, parent, child) do {} while(0) - #endif /* !defined mutex_init */ #ifndef atomic_full_barrier |