Corinna Vinschen
98afd02be3
Cygwin: timerfd: rework implementation
...
timerfd_tracker and timerfd_shared classes:
- Just because handles are shared, we don't have to store them in
shared memory. Move share handles into timerfd_tracker class.
- Drop shared instance counter since it's not required anymore.
timerfd_shared only stores the actual timer data.
- Drop timerfd_shared::create, just set clock id.
- Drop timerfd_shared::dtor, it's not required anymore.
- Drop timerfd_tracker::close, just call dtor where required.
- Rename timerfd_tracker::increment_instances to timerfd_tracker::dup.
It's the only reason it exists...
- timerfd_tracker::dtor now checks the non-shared pointers for NULL
before attempting to close them.
- timerfd_tracker::dtor handles decrementing the local instance count
by itself.
- Add a method timerfd_tracker::init_fixup_after_fork_exec to set
non-shared pointers to NULL. Together with the dtor patches it
fixes a problem with close_on_exec timerfd descriptors.
- Fix a bug in handling the thread synchronization event. It's
actually nice to create it before using it...
- Drop using sec_none{_nih} in InitializeObjectAttributes. It's
an unnecessary roundabout route just to get a NULL pointer.
- Slightly rework timechange window handling.
- Add more comments to explain what happens.
fhandler_timerfd:
- Drop cnew macro, it just hides what happens.
- fhandler_timerfd::fixup_after_exec now calls
timerfd_tracker::init_fixup_after_fork_exec first, so a subsequent
call to timerfd_tracker::dtor only works on valid handles.
- fhandler_timerfd::close directly calls timerfd_tracker::dtor now.
- Drop dtor call in fhandler_timerfd destructor.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-02-25 21:01:32 +01:00
..
2019-02-22 00:13:06 +01:00
2017-11-27 14:36:06 +01:00
2018-01-19 13:19:21 -06:00
2019-01-23 10:46:24 +01:00
2016-11-24 16:09:31 +01:00
2019-02-24 20:23:34 +01:00
2016-06-23 10:09:17 +02:00
2019-01-18 14:31:01 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-23 17:30:44 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-08 17:48:34 +01:00
2019-01-22 15:42:07 +01:00
2019-01-22 15:42:07 +01:00
2016-06-23 10:09:17 +02:00
2019-02-19 13:01:50 -06:00
2016-04-01 13:53:25 +02:00
2016-04-04 16:39:41 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2017-10-09 18:08:10 +02:00
2016-08-25 14:18:31 +02:00
2016-06-23 10:09:17 +02:00
2018-02-20 18:01:40 +01:00
2019-01-22 16:38:14 +01:00
2019-02-07 15:58:02 +01:00
2019-02-23 21:06:12 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-08-20 17:14:55 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-01-23 21:45:59 +01:00
2016-06-25 13:36:52 +02:00
2016-06-23 10:09:17 +02:00
2016-06-25 00:43:01 +02:00
2019-01-14 17:19:37 +01:00
2018-03-05 17:49:50 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-08 15:49:47 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-01-15 22:02:33 +01:00
2019-01-15 22:02:33 +01:00
2019-01-15 22:02:33 +01:00
2016-06-23 10:09:17 +02:00
2019-02-07 15:58:02 +01:00
2019-02-07 15:58:02 +01:00
2019-02-07 15:58:02 +01:00
2016-06-23 10:09:17 +02:00
2019-02-09 15:36:02 +01:00
2016-06-23 10:09:17 +02:00
2019-02-19 13:01:50 -06:00
2017-01-10 16:24:50 +01:00
2018-02-20 17:59:53 +01:00
2017-11-27 14:36:06 +01:00
2019-01-22 15:23:05 +01:00
2016-06-23 10:09:17 +02:00
2019-02-02 21:02:00 +01:00
2017-11-27 14:36:06 +01:00
2018-08-15 18:02:22 +02:00
2016-06-23 10:09:17 +02:00
2018-09-07 13:49:54 +02:00
2019-01-07 12:29:07 +01:00
2016-06-23 16:56:41 +02:00
2019-01-07 12:29:07 +01:00
2017-10-09 11:44:10 +02:00
2018-10-10 13:20:45 +02:00
2019-02-09 18:41:47 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-05 15:32:08 +01:00
2019-01-05 21:36:34 +01:00
2019-02-05 15:32:08 +01:00
2019-02-01 13:18:15 +01:00
2018-02-28 18:56:13 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-12-14 14:14:28 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-01-17 11:51:11 +01:00
2018-11-05 21:02:22 +01:00
2018-10-29 16:32:48 +01:00
2018-11-29 11:05:42 +01:00
2018-03-12 15:26:12 +01:00
2018-06-29 15:31:15 +02:00
2017-10-09 11:44:11 +02:00
2019-02-25 21:01:32 +01:00
2018-07-25 09:36:24 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-05 15:20:13 +01:00
2019-02-25 21:01:32 +01:00
2016-06-24 21:07:39 +02:00
2019-02-07 15:58:02 +01:00
2019-02-07 15:58:02 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 16:56:41 +02:00
2019-01-15 13:19:41 +01:00
2018-12-23 17:53:55 +01:00
2016-03-24 16:39:15 +01:00
2016-03-24 16:39:15 +01:00
2019-01-24 21:20:09 +01:00
2018-12-19 21:10:37 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-01-23 10:46:24 +01:00
2017-10-09 18:08:10 +02:00
2019-01-07 19:35:00 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2015-11-18 19:09:47 +01:00
2019-02-23 17:22:44 +01:00
2019-02-23 17:22:44 +01:00
2016-06-23 10:09:17 +02:00
2018-04-11 11:59:35 +02:00
2017-03-27 22:03:58 +01:00
2016-05-25 12:13:03 +02:00
2019-02-07 15:58:02 +01:00
2016-06-23 10:09:17 +02:00
2016-08-20 17:14:55 +02:00
2016-03-29 14:43:55 +02:00
2016-03-24 16:39:15 +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
2019-01-24 11:39:43 +01:00
2016-06-23 10:09:17 +02:00
2019-01-07 19:35:00 +01:00
2019-02-18 10:26:53 +01:00
2019-02-18 10:23:15 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-01-24 14:22:24 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2017-06-06 18:27:47 +02:00
2018-12-23 00:24:05 +01:00
2019-01-07 19:35:00 +01:00
2016-12-14 14:14:28 +01:00
2017-11-27 14:36:06 +01:00
2019-01-06 20:30:14 +01:00
2019-02-18 10:26:53 +01:00
2016-09-08 13:36:31 +02:00
2016-06-23 10:09:17 +02:00
2019-02-23 21:06:12 +01:00
2019-02-02 20:01:41 +01:00
2018-02-23 15:24:18 +01:00
2019-01-18 14:31:01 +01:00
2019-02-24 10:12:03 +01:00
2019-01-22 18:20:18 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-02-17 10:55:28 +01:00
2018-06-27 17:56:59 +02:00
2018-08-27 18:28:33 +02:00
2016-06-23 16:56:41 +02:00
2018-04-16 22:46:11 -05:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2018-02-07 13:07:44 +01:00
2017-06-19 08:16:42 -05:00
2018-11-29 11:05:42 +01:00
2017-11-27 14:36:06 +01:00
2019-02-23 20:46:48 +01:00
2018-08-27 13:48:07 +02:00
2016-03-10 10:36:00 +01:00
2016-03-08 13:56:40 +01:00
2016-08-19 16:50:15 +02:00
2019-02-23 17:30:44 +01:00
2019-02-23 23:02:44 +01:00
2019-01-14 17:19:37 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-07 15:58:02 +01:00
2019-02-07 15:58:02 +01:00
2016-06-23 10:09:17 +02:00
2019-01-30 11:36:45 +01:00
2019-02-18 10:19:44 +01:00
2019-01-13 23:13:33 +01:00
2018-03-12 22:13:20 +01:00
2019-02-08 15:49:47 +01:00
2018-11-26 17:59:10 +01:00
2018-12-01 15:11:12 +01:00
2018-03-02 18:17:17 +01:00
2016-06-23 10:09:17 +02:00
2018-07-03 15:38:47 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-23 20:48:59 +01:00
2018-11-29 11:05:42 +01:00
2018-07-06 10:41:21 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-01-30 20:05:39 +01:00
2018-06-27 17:56:59 +02:00
2019-02-25 21:01:32 +01:00
2019-02-25 21:01:32 +01:00
2018-11-29 11:05:42 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-01-15 12:25:12 +01:00
2019-01-14 17:19:37 +01:00
2016-06-23 16:56:41 +02:00
2016-06-23 10:09:17 +02:00
2019-02-23 17:30:44 +01:00
2019-01-26 18:37:25 +01:00
2016-06-23 10:09:17 +02:00
2016-09-08 13:36:29 +02:00
2016-06-23 10:09:17 +02:00
2016-08-15 10:56:57 +02:00
2019-02-22 21:58:51 +01:00
2019-02-22 21:58:51 +01:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2016-06-23 10:09:17 +02:00
2019-02-07 15:58:02 +01:00
2016-06-23 10:09:17 +02:00
2016-03-29 14:43:55 +02:00