]> git.ipfire.org Git - thirdparty/asterisk.git/commit
asterisk.c: When astcanary dies on linux, reset priority on all threads. 19/3919/2
authorWalter Doekes <walter+github@wjd.nu>
Mon, 19 Sep 2016 19:26:56 +0000 (21:26 +0200)
committerWalter Doekes <walter+asterisk@wjd.nu>
Mon, 19 Sep 2016 19:26:56 +0000 (21:26 +0200)
commit899546979acd7ec880fd06aca11a67b26b91650f
tree62147bcb01d40206e4d240a9d5ddfd6344b5ae43
parent50d227dfd8be43785173a48936aa1f8e225e9d70
asterisk.c: When astcanary dies on linux, reset priority on all threads.

Previously only the canary checking thread itself had its priority set
to SCHED_OTHER. Now all threads are traversed and adjusted.

ASTERISK-19867 #close
Reported by: Xavier Hienne

Change-Id: Ie0dd02a3ec42f66a78303e9c1aac28f7ed9aae39
main/asterisk.c