Re: [chrony-dev] [PATCH] Use pthread_setschedparam instead of sched_setscheduler |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH] Use pthread_setschedparam instead of sched_setscheduler
- From: "Stefan R. Filipek" <srfilipek@xxxxxxxxx>
- Date: Mon, 8 Apr 2019 09:31:19 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=fmoDr2w4kpvBWRAejna9+NiZW3joTu/vyLKYvhScFp8=; b=BJ7QzXovsx62EOhU9+19YjRNgGlSIA5rXwjpLkwrifexZe4khi/n55gLIcaAlp/NUt 9WZYxw1PY7DKyrZWocEeBV8Ty3YI9sXbL3Rk+T+7ImPhVMlQTIw/zc5MjCm2f4FJ/VSc LdWsCMOGsXqKrLN7I6DctVHJUzxHTJGY1wnGnHcQq8X7stifcBAydKj9lfV+8MmwnJt9 AizCLAkXAkcEkGaDUjRekoo4v92RfdMVM7aSptjEi5l/xIFiuIJaq88JRbuI9U1eXi/+ VVbVzIR2k9T7InwUOIK0zYOuLzJLZoecSWeCYYn4jAHX9RYoJonHLB5+GizxSfgSq5t4 4+ug==
> sched.h should be pthread.h?
I should actually include both. sched_get_priority_min/max() is still used.
Updated and squashed patch below.
Regards,
Stefan