|
@@ -165,6 +165,15 @@ enum __rusage_who
|
|
/* All of its terminated child processes. */
|
|
/* All of its terminated child processes. */
|
|
RUSAGE_CHILDREN = -1
|
|
RUSAGE_CHILDREN = -1
|
|
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
|
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
|
|
|
+
|
|
|
|
+#ifdef __USE_GNU
|
|
|
|
+ ,
|
|
|
|
+ /* The calling thread. */
|
|
|
|
+ RUSAGE_THREAD = 1
|
|
|
|
+# define RUSAGE_THREAD RUSAGE_THREAD
|
|
|
|
+ /* Name for the same functionality on Solaris. */
|
|
|
|
+# define RUSAGE_LWP RUSAGE_THREAD
|
|
|
|
+#endif
|
|
};
|
|
};
|
|
|
|
|
|
#define __need_timeval
|
|
#define __need_timeval
|