Wladimir J. van der Laan
fcb6694a99
Merge #14839 : [rebase] threads: fix unitialized members in sched_param
...
89282379ba threads: fix unitialized members in sched_param (Cory Fields)
Pull request description:
Rebased theuni's #14342 .
Building with gcc 8.2 against musl libc, which apparently has more attributes available in its sched_param. The following warnings were produced:
warning: missing initializer for member 'sched_param::sched_ss_low_priority' [-Wmissing-field-initializers]
warning: missing initializer for member 'sched_param::sched_ss_repl_period' [-Wmissing-field-initializers]
warning: missing initializer for member 'sched_param::sched_ss_init_budget' [-Wmissing-field-initializers]
warning: missing initializer for member 'sched_param::sched_ss_max_repl' [-Wmissing-field-initializers]
Since the current thread may have interesting non-zero values for these fields, we want to be sure to only change the intended one. Query and modify the current sched_param rather than starting from a zeroed one.
Tree-SHA512: a0bedbcf0130b3ee8261bb704e4bf6c9b760ad377c8a28c258765d54e54462b76707efc188b936b0a635cdd2bdf6b3b9298ab06ba361dc4806150b670d9702a3
2019-01-16 17:09:12 +01:00
..
2019-01-15 13:42:05 -05:00
2018-08-16 20:33:50 +02:00
2018-12-29 10:15:01 +01:00
2018-11-05 09:25:15 -08:00
2019-01-09 14:48:11 +01:00
2019-01-15 17:39:19 +01:00
2018-08-09 11:31:45 -04:00
2018-12-03 00:14:33 +01:00
2018-11-30 12:54:24 +02:00
2019-01-16 12:38:27 +01:00
2019-01-14 18:07:15 +01:00
2018-11-28 15:24:49 -08:00
2017-09-29 16:02:39 +02:00
2019-01-06 17:45:53 +01:00
2019-01-16 13:50:37 +01:00
2018-09-07 08:21:14 -04:00
2019-01-16 17:09:12 +01:00
2019-01-16 16:15:17 +01:00
2018-11-14 15:33:15 -05:00
2018-04-13 15:37:20 -04:00
2018-11-04 22:46:07 -08:00
2018-07-27 07:15:02 -04:00
2018-12-12 14:22:12 -08:00
2019-01-05 16:16:37 +01:00
2018-12-29 10:15:01 +01:00
2018-11-04 22:46:07 -08:00
2018-12-04 19:55:04 +02:00
2018-11-05 17:03:11 +01:00
2018-11-04 22:46:07 -08:00
2018-11-05 17:03:11 +01:00
2018-08-27 18:19:33 +02:00
2018-03-22 16:23:04 +01:00
2018-12-07 15:40:50 +01:00
2018-12-07 15:40:50 +01:00
2018-11-23 10:17:46 +01:00
2018-11-05 09:25:15 -08:00
2018-11-13 12:41:41 -08:00
2018-12-21 23:53:29 -06:00
2018-11-06 09:12:54 -08:00
2018-08-25 17:41:00 +02:00
2018-08-13 01:24:55 +02:00
2018-07-27 07:15:02 -04:00
2019-01-03 00:10:24 +02:00
2019-01-11 14:33:24 -10:00
2018-10-07 13:11:36 +01:00
2018-11-04 22:46:07 -08:00
2018-07-27 07:15:02 -04:00
2018-08-13 13:57:15 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-05 09:25:15 -08:00
2018-11-05 09:25:15 -08:00
2018-12-03 14:25:51 -05:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-05 17:03:11 +01:00
2018-07-27 07:15:02 -04:00
2018-11-04 22:46:07 -08:00
2018-11-04 22:46:07 -08:00
2018-08-27 18:19:33 +02:00
2018-09-04 13:11:26 +02:00
2018-11-04 22:46:07 -08:00
2018-11-06 11:44:40 -04:00
2018-10-19 02:29:25 +08:00
2018-12-29 10:15:01 +01:00
2018-11-05 09:25:15 -08:00
2018-11-30 18:48:58 +01:00
2018-11-04 22:46:07 -08:00
2018-08-11 09:34:47 +03:00
2019-01-05 16:16:37 +01:00
2018-09-13 10:36:41 -07:00
2019-01-16 13:40:27 +01:00
2018-11-06 11:44:40 -04:00
2018-12-29 10:15:01 +01:00
2018-07-27 07:15:02 -04:00
2018-09-13 09:58:26 +02:00
2018-09-13 10:36:41 -07:00
2018-11-04 22:46:07 -08:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-04 22:46:07 -08:00
2018-09-12 11:28:01 -04:00
2018-11-15 14:39:37 -05:00
2018-11-25 10:53:20 +09:00
2017-07-13 12:49:05 -04:00
2019-01-04 06:31:07 -05:00
2019-01-04 06:31:07 -05:00
2018-11-29 05:30:58 -06:00
2018-07-27 07:15:02 -04:00
2019-01-10 01:58:33 +01:00
2018-07-27 07:15:02 -04:00
2018-12-10 16:42:14 -05:00
2018-12-10 16:42:14 -05:00
2018-12-12 14:22:12 -08:00
2018-09-30 22:15:37 -03:00
2019-01-14 14:48:51 +01:00
2019-01-14 14:48:51 +01:00
2018-11-23 09:53:20 +01:00
2018-11-23 09:53:20 +01:00
2018-12-03 14:25:51 -05:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-04 22:46:07 -08:00
2018-12-29 10:15:01 +01:00
2018-07-27 07:15:02 -04:00
2018-11-05 17:03:11 +01:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-14 12:19:28 -05:00
2018-11-04 22:46:07 -08:00
2019-01-05 16:16:37 +01:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-12-12 14:28:16 -08:00
2018-12-12 14:28:16 -08:00
2019-01-04 12:31:07 +01:00
2018-07-24 20:46:23 +01:00
2018-10-20 02:29:59 +08:00
2018-10-20 02:29:59 +08:00
2018-09-11 00:58:13 -04:00
2018-06-25 00:08:49 -04:00
2018-06-25 00:08:49 -04:00
2018-07-27 11:52:18 -07:00
2019-01-05 15:06:43 +01:00
2018-11-04 22:46:07 -08:00
2018-12-14 16:26:13 -05:00
2018-08-31 16:00:38 +02:00
2018-12-29 10:15:01 +01:00
2018-11-06 11:44:40 -04:00
2018-11-04 22:46:07 -08:00
2018-07-27 07:15:02 -04:00
2018-03-21 08:34:44 +02:00
2019-01-13 22:50:36 -08:00
2018-07-27 07:15:02 -04:00
2018-11-04 22:46:07 -08:00
2018-08-08 13:55:27 +02:00
2018-11-04 22:46:07 -08:00
2018-12-22 15:23:03 +01:00
2018-11-04 22:46:07 -08:00
2018-08-14 09:19:47 +00:00
2019-01-10 02:51:14 +01:00
2018-09-18 14:27:05 +09:00
2018-11-05 09:25:15 -08:00
2019-01-15 13:42:05 -05:00
2018-11-30 18:48:58 +01:00
2018-12-29 14:14:26 +01:00
2018-08-26 00:25:28 +02:00
2018-07-27 07:15:02 -04:00
2018-09-23 22:55:11 +02:00
2018-09-23 22:55:11 +02:00
2018-09-23 22:55:11 +02:00
2018-09-23 22:55:11 +02:00
2018-11-06 11:44:40 -04:00
2018-11-04 22:46:07 -08:00
2018-08-08 13:55:27 +02:00