Sfoglia il codice sorgente

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 anni fa
parent
commit
d5fd1fa485
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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;
+}