瀏覽代碼

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;
+}