Bläddra i källkod

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.
Rich Felker 13 år sedan
förälder
incheckning
d5fd1fa485
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      src/thread/__set_thread_area.c

+ 6 - 0
src/thread/__set_thread_area.c

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