commit | c2a89a6aeda57207514bc9c719ef294ba1e33816 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Oct 23 15:54:24 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 13:58:33 2017 +0100 |
tree | 50c4156110b4a0dc14e33cf8530e587853bb6baa | |
parent | 88ce5d18a58950ff525a1e6267303f42bb1e6f4d [diff] [blame] |
MINOR: threads/mailers: Add a lock to protect queues of email alerts
diff --git a/include/types/proxy.h b/include/types/proxy.h index 3e0c3ee..719c8dd 100644 --- a/include/types/proxy.h +++ b/include/types/proxy.h
@@ -239,6 +239,9 @@ * code even though they are not checks. This structure * is as a parameter to the check code. * Each check corresponds to a mailer */ +#ifdef USE_THREAD + HA_SPINLOCK_T lock; +#endif }; struct proxy {