summaryrefslogtreecommitdiff
path: root/src/thread/__set_thread_area.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-17 11:37:46 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-17 11:37:46 -0400
commitd5fd1fa48564a5528f53e5b1cab5063a0545d7f7 (patch)
treed843b3e58fd9026cd98ad3f25361682ecaf73417 /src/thread/__set_thread_area.c
parent471c6067d9a0665809a125260a7dede8ee357f98 (diff)
downloadmusl-d5fd1fa48564a5528f53e5b1cab5063a0545d7f7.tar.gz
musl-d5fd1fa48564a5528f53e5b1cab5063a0545d7f7.tar.bz2
musl-d5fd1fa48564a5528f53e5b1cab5063a0545d7f7.tar.xz
musl-d5fd1fa48564a5528f53e5b1cab5063a0545d7f7.zip
dummy implementation of set_thread_area
eventually we may have a working "generic" implementation for archs that don't need anything special. in any case, the goal of having stubs like this is to allow early testing of new ports before all the details needed for threads have been filled in. more functions like this will follow.
Diffstat (limited to 'src/thread/__set_thread_area.c')
-rw-r--r--src/thread/__set_thread_area.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread/__set_thread_area.c b/src/thread/__set_thread_area.c
index e69de29b..f2ac6e97 100644
--- a/src/thread/__set_thread_area.c
+++ b/src/thread/__set_thread_area.c
@@ -0,0 +1,6 @@
+#include <pthread_impl.h>
+
+int __set_thread_area(void *p)
+{
+ return -1;
+}