dummy implementation of set_thread_area
authorRich Felker <dalias@aerifal.cx>
Sat, 17 Sep 2011 15:37:46 +0000 (11:37 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 17 Sep 2011 15:37:46 +0000 (11:37 -0400)
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.

src/thread/__set_thread_area.c

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f2ac6e97a61bf745b3b005c621fd4f594f8fdfaf 100644 (file)
@@ -0,0 +1,6 @@
+#include <pthread_impl.h>
+
+int __set_thread_area(void *p)
+{
+       return -1;
+}