unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
blob b238e369679994d8fdf1931466a1885abc46f086 1080 bytes (raw)
name: nt/inc/sys/time.h 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
 
#ifndef SYS_TIME_H_INCLUDED
#define SYS_TIME_H_INCLUDED

#include_next <sys/time.h>

struct itimerspec
{
  struct  timespec it_interval;	/* timer interval */
  struct  timespec it_value;	/* current value */
};

union sigval
{
  int sival_int;
  void *sival_ptr;
};
struct sigevent
{
  int sigev_notify;
  int sigev_signo;
  union sigval sigev_value;
  void (*sigev_notify_function) (union sigval);
  /* Although POSIX requires 'pthread_attr_t *sigev_notify_attributes;',
     that might clash with MinGW and Emacs *doesn’t need it.  */
};
#define SIGEV_SIGNAL 0

#define TIMER_ABSTIME 1

#ifndef CLOCK_REALTIME
typedef int clockid_t;
# define CLOCK_REALTIME 0
#endif
#ifndef CLOCK_THREAD_CPUTIME_ID
# define CLOCK_THREAD_CPUTIME_ID 106 /* unlikely to clash */
#endif
typedef struct
{
  clockid_t clockid;
} timer_t;
int timer_create (clockid_t, struct sigevent *restrict, timer_t *restrict);
int timer_settime (timer_t, int, struct itimerspec const *,
		   struct itimerspec *restrict);
int timer_getoverrun (timer_t);

#endif /* SYS_TIME_H_INCLUDED */

/* end of sys/time.h */

debug log:

solving b238e36967 ...
found b238e36967 in https://yhetil.org/emacs-bugs/b937dc2c-e4bb-0e3d-6f0f-52ccdb0385b2@cs.ucla.edu/
found d03bc456ea in https://yhetil.org/emacs-bugs/3c8e16a0-bae6-4ee7-d8e1-5da307ff6e84@cs.ucla.edu/
found 6f67e5db4e in https://git.savannah.gnu.org/cgit/emacs.git
preparing index
index prepared:
100644 6f67e5db4ed5e48b7af505fb44a8f95885154b7f	nt/inc/sys/time.h

applying [1/2] https://yhetil.org/emacs-bugs/3c8e16a0-bae6-4ee7-d8e1-5da307ff6e84@cs.ucla.edu/
diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h
index 6f67e5db4e..d03bc456ea 100644


applying [2/2] https://yhetil.org/emacs-bugs/b937dc2c-e4bb-0e3d-6f0f-52ccdb0385b2@cs.ucla.edu/
diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h
index d03bc456ea..b238e36967 100644

Checking patch nt/inc/sys/time.h...
Applied patch nt/inc/sys/time.h cleanly.
Checking patch nt/inc/sys/time.h...
Applied patch nt/inc/sys/time.h cleanly.

index at:
100644 b238e369679994d8fdf1931466a1885abc46f086	nt/inc/sys/time.h

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).