MINOR: task/notification: Is notifications registered ?
authorThierry FOURNIER <thierry.fournier@ozon.io>
Wed, 30 May 2018 09:40:08 +0000 (11:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 May 2018 08:58:41 +0000 (10:58 +0200)
commit9d5422a4b7e71294cf7ce16d60490d907cc92f48
treec1723674f194566c3e67f87393920fac59ae28ac
parent3a47e5e25c0e5621616b75ab0dd4a56c2f1d0608
MINOR: task/notification: Is notifications registered ?

This function returns true is some notifications are registered.

This function is usefull for the following patch

   BUG/MEDIUM: lua/socket: Sheduling error on write: may dead-lock

It should be backported in 1.6, 1.7 and 1.8
include/proto/task.h