some preliminaries for adding POSIX timers
authorRich Felker <dalias@aerifal.cx>
Tue, 29 Mar 2011 14:05:57 +0000 (10:05 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 29 Mar 2011 14:05:57 +0000 (10:05 -0400)
arch/i386/bits/alltypes.h.sh
arch/x86_64/bits/alltypes.h.sh
src/internal/pthread_impl.h

index c6201b9dc2e9fae35c13fa00516ac815c0be0867..13658cc2716ae001ec204f204a0b9a2f5e490e22 100755 (executable)
@@ -107,7 +107,7 @@ TYPEDEF long long blkcnt_t;
 TYPEDEF unsigned long long fsblkcnt_t;
 TYPEDEF unsigned long long fsfilcnt_t;
 
-TYPEDEF void * timer_t;
+TYPEDEF struct __timer * timer_t;
 TYPEDEF int clockid_t;
 TYPEDEF unsigned long clock_t;
 
index b0aecd9c94c875c5eef4ae8a3395f2fc3624ee5a..cd84a2dad79dae90876dcf88fa32fac322fdcac9 100755 (executable)
@@ -107,7 +107,7 @@ TYPEDEF long long blkcnt_t;
 TYPEDEF unsigned long long fsblkcnt_t;
 TYPEDEF unsigned long long fsfilcnt_t;
 
-TYPEDEF void * timer_t;
+TYPEDEF struct __timer * timer_t;
 TYPEDEF int clockid_t;
 TYPEDEF long clock_t;
 
index c8fa4b112f838e22f45cd5129b31a2ab3f563c78..615b963ae452ecb7601b44b003f6deabc1d9c030 100644 (file)
@@ -43,6 +43,10 @@ struct pthread {
        } robust_list;
 };
 
+struct __timer {
+       struct sigevent sev;
+};
+
 #define __SU (sizeof(size_t)/sizeof(int))
 
 #define _a_stacksize __u.__s[0]