commit | c208a54ab2aede84402d38758f855789b1a836d1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jun 17 19:58:37 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jun 17 19:58:37 2020 +0200 |
tree | d1a8b3dbc95ed07313c746d191ab24b10c805717 | |
parent | 4f72ec851ccc24506cad03a09776422a057d61a7 [diff] |
DOC: fd: make it clear that some fields ordering must absolutely be respected fd_set_running() and fd_takeover() may both use a double-word CAS on the (running_mask, thread_mask) couple and as such they expect the fields to be exactly arranged like this. It's critical not to reorder them, so add a comment to avoid such a potential mistake later.