mirror of git://git.musl-libc.org/musl
some preliminaries for adding POSIX timers
This commit is contained in:
parent
8250742b90
commit
70c31c7bd7
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue