commit | 51205a1958f5e83121deac1d4e818bd5712fe12d | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Wed Apr 17 19:29:35 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Wed Apr 17 19:30:23 2019 +0200 |
tree | de609ee16a351920f17f8df5d7a7085ca430e2e4 | |
parent | 0c7a4b6371160a8fb69d2e284f0a402c7e06d99f [diff] |
BUG/MEDIUM: applets: Don't use task_in_rq(). When deciding if we want to wake the task of an applet up, don't give up if task_in_rq returns 1, as there's a race condition and another thread may run it. Instead, always attempt to task_wakeup(), at worst the task is already in the run queue, and nothing will happen.