소스 검색

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 년 전
부모
커밋
d5fd1fa485
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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;
+}