aboutsummaryrefslogtreecommitdiff
path: root/libc/bionic/pthread_key.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-02-12 06:06:22 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-02-12 06:06:22 +0000
commit6f94de3ca49e4ea147b1c59e5818fa175846518f (patch)
tree9a2c45004114f53c4cf1f9468a58fe54c58320fa /libc/bionic/pthread_key.cpp
parent2a1bb4e64677b9abbc17173c79768ed494565047 (diff)
Revert "More pthreads cleanup."
This reverts commit 2a1bb4e64677b9abbc17173c79768ed494565047 Change-Id: Ia443d0748015c8e9fc3121e40e68258616767b51
Diffstat (limited to 'libc/bionic/pthread_key.cpp')
-rw-r--r--libc/bionic/pthread_key.cpp25
1 files changed, 24 insertions, 1 deletions
diff --git a/libc/bionic/pthread_key.cpp b/libc/bionic/pthread_key.cpp
index b01f9bd4f..00dacba96 100644
--- a/libc/bionic/pthread_key.cpp
+++ b/libc/bionic/pthread_key.cpp
@@ -26,10 +26,33 @@
* SUCH DAMAGE.
*/
+#include <assert.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <limits.h>
+#include <malloc.h>
+#include <memory.h>
#include <pthread.h>
-
+#include <signal.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <sys/atomics.h>
+#include <sys/mman.h>
+#include <sys/prctl.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <time.h>
+#include <unistd.h>
+
+#include "bionic_atomic_inline.h"
+#include "bionic_futex.h"
+#include "bionic_pthread.h"
+#include "bionic_ssp.h"
#include "bionic_tls.h"
+#include "debug_format.h"
#include "pthread_internal.h"
+#include "thread_private.h"
/* A technical note regarding our thread-local-storage (TLS) implementation:
*