commit | f0cea1ee3f17dcfdd8a033fe713303d407907f71 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jul 26 16:13:00 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 26 16:13:00 2018 +0200 |
tree | b8d3dd4f8e65c7d28e7b2d56f4654ffeccea259a | |
parent | ad8bd2467c017965a21f12e6eb9118272a7f0293 [diff] |
MINOR: tasks: extend the state bits from 8 to 16 and remove the reason By removing the reason code for the wakeup we can gain 8 extra bits to encode the task's state. The reason code was never used at all and is wrong by design since subsequent calls will OR this value anyway. Let's say it goodbye and leave the room for more precious bits. The woken bits were moved to the higher byte so that the most important bits can stay grouped together.