commit | 9dcf9b6f031ed02a05cbbc76bf06b53d97d25fa3 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Nov 13 10:34:01 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 13 11:38:17 2017 +0100 |
tree | 9c8baf801ee128b200c11b2ba540fd3b35ebd381 | |
parent | f4cfcf9a269ae3f106f3d5c2725fcf3abdd54e66 [diff] |
MINOR: threads: Use __decl_hathreads to declare locks This macro should be used to declare variables or struct members depending on the USE_THREAD compile option. It avoids the encapsulation of such declarations between #ifdef/#endif. It is used to declare all lock variables.