Corinna Vinschen c05df02725 Cygwin: implement extensible clock interface
- Drop hires_[nm]s clocks, rename hires.h to clock.h.

- Implement clk_t class as an extensible clock class in new file clock.cc.

- Introduce get_clock(clock_id) returning a pointer to the clk_t instance
  for clock_id.  Provide the following methods along the lines of the former
  hires classes:

	void		clk_t::nsecs (struct timespec *);
	ULONGLONG	clk_t::nsecs ();
	LONGLONG	clk_t::usecs ();
	LONGLONG	clk_t::msecs ();
	void 		clk_t::resolution (struct timespec *);

- Add CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC_RAW, CLOCK_MONOTONIC_COARSE
  and CLOCK_BOOTTIME clocks.

- Allow clock_nanosleep, pthread_condattr_setclock and timer_create to use
  all new clocks (both clocks should be usable with a small tweak, though).

- Bump DLL major version to 2.12.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-11-29 11:05:42 +01:00
..
2018-10-10 17:49:53 +02:00
2016-11-24 16:09:31 +01:00
2013-04-30 23:43:08 +00:00
2012-11-23 13:22:47 +00:00
2018-08-07 14:51:10 +02:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2014-04-26 17:38:22 +00:00
2018-02-20 17:59:53 +01:00
2015-03-03 12:58:34 +00:00
2016-06-24 23:32:39 +02:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2018-08-07 14:51:10 +02:00
2018-08-07 14:51:10 +02:00
2015-08-17 11:05:43 +02:00
2013-04-23 09:44:36 +00:00
2016-06-23 21:30:15 +02:00
2018-02-07 13:07:44 +01:00
2018-04-16 22:46:11 -05:00
2018-02-07 13:07:44 +01:00
2017-03-27 22:03:58 +01:00
2013-04-23 09:44:36 +00:00
2016-06-23 16:56:41 +02:00