Use mmap to create the pthread_internal_t.
[android-sdk/platform-bionic.git] / libc / bionic / pthread_internal.h
index 392e781e4b7e913fd3fed7f1b86a7bbc9fbb01e4..c5136c93cbfff8fb58f2e773c9d10d7ac8a4e510 100644 (file)
@@ -94,6 +94,8 @@ struct pthread_internal_t {
   char dlerror_buffer[__BIONIC_DLERROR_BUFFER_SIZE];
 };
 
+__LIBC_HIDDEN__ pthread_internal_t* __create_thread_struct();
+__LIBC_HIDDEN__ void __free_thread_struct(pthread_internal_t*);
 __LIBC_HIDDEN__ int __init_thread(pthread_internal_t* thread, bool add_to_thread_list);
 __LIBC_HIDDEN__ void __init_tls(pthread_internal_t* thread);
 __LIBC_HIDDEN__ void __init_alternate_signal_stack(pthread_internal_t*);