]> git.ipfire.org Git - thirdparty/asterisk.git/commit
asterisk.c: When astcanary dies on linux, reset priority on all threads. 18/3918/2
authorWalter Doekes <walter+github@wjd.nu>
Mon, 19 Sep 2016 14:40:40 +0000 (16:40 +0200)
committerWalter Doekes <walter+asterisk@wjd.nu>
Mon, 19 Sep 2016 19:24:49 +0000 (14:24 -0500)
commite96448e991d0c9285baa413c73a336189f6c5ba5
treef210907a106b7df5fbcd593185e08fb64958c460
parent4d64b176ebbd6ee6c51f028068a0d0d6ddaa4ac7
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