Dmitry Chagin
4525bb829f
Rework r296543:
...
1. Limit secs to INT32_MAX / 2 to avoid errors from kern_setitimer().
Assert that kern_setitimer() returns 0.
Remove bogus cast of secs.
Fix style(9) issues.
2. Increment the return value if the remaining tv_usec value more than 500000 as a Linux does.
Pointed out by: [1] Bruce Evans
MFC after: 1 week
2016-03-20 11:40:52 +00:00
..
2015-05-24 14:53:16 +00:00
2015-05-24 14:53:16 +00:00
2015-05-24 16:00:01 +00:00
2015-12-16 23:39:27 +00:00
2015-06-06 06:12:14 +00:00
2015-05-24 17:25:57 +00:00
2015-08-05 07:36:50 +00:00
2015-06-20 05:40:35 +00:00
2015-07-29 17:18:27 +00:00
2015-05-24 16:32:52 +00:00
2016-03-08 15:08:22 +00:00
2016-01-14 10:13:58 +00:00
2015-05-24 14:53:16 +00:00
2015-05-24 16:14:41 +00:00
2015-05-24 18:12:04 +00:00
2015-05-24 18:12:04 +00:00
2015-05-24 15:44:41 +00:00
2015-05-24 15:44:41 +00:00
2015-05-24 15:51:18 +00:00
2015-05-24 16:55:32 +00:00
2016-03-20 11:40:52 +00:00
2015-05-24 17:57:07 +00:00
2015-05-24 17:47:20 +00:00
2015-05-24 17:47:20 +00:00
2016-03-09 09:12:40 +00:00
2016-03-09 09:12:40 +00:00
2015-07-05 19:05:16 +00:00
2015-05-24 16:14:41 +00:00
2015-05-24 18:14:38 +00:00
2015-12-26 09:09:49 +00:00
2015-05-24 17:30:31 +00:00
2015-05-24 16:14:41 +00:00
2015-05-24 16:41:39 +00:00
2016-02-22 09:08:04 +00:00
2015-05-24 15:45:36 +00:00
2015-05-24 15:45:36 +00:00
2015-05-24 17:47:20 +00:00
2015-05-24 17:47:20 +00:00
2015-05-24 14:53:16 +00:00