haproxy/include
Willy Tarreau 430f590b5b MINOR: threads: add a timer_t per thread in thread_info
This will be used by the watchdog to detect that a thread locked up.
It's only defined on platforms supporting it. This patch only reserves
the room for the timer in the struct. A special value was reserved for
the uninitialized timer. The problem is that the POSIX API was horribly
designed, defining no invalid value, thus for each timer it is required
to keep a second variable to indicate whether it's valid. A quick check
shows that defining a 32-bit invalid value is not something uncommon
across other implementations, with ~0 being common. Let's try with this
and if it causes issues we can revisit this decision.
2019-05-22 11:50:48 +02:00
..
common MINOR: threads: add a timer_t per thread in thread_info 2019-05-22 11:50:48 +02:00
import
proto MINOR: stream: introduce a stream_dump() function and use it in stream_dump_and_crash() 2019-05-22 11:50:48 +02:00
types MAJOR: polling: add event ports support (Solaris) 2019-05-21 15:16:45 +02:00