haproxy/include/types
Willy Tarreau 3f567e4949 REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h
This splits the hathreads.h file into types+macros and functions. Given
that most users of this file used to include it only to get the definition
of THREAD_LOCAL and MAXTHREADS, the bare minimum was placed into thread-t.h
(i.e. types and macros).

All the thread management was left to haproxy/thread.h. It's worth noting
the drop of the trailing "s" in the name, to remove the permanent confusion
that arises between this one and the system implementation (no "s") and the
makefile's option (no "s").

For consistency, src/hathreads.c was also renamed thread.c.

A number of files were updated to only include thread-t which is the one
they really needed.

Some future improvements are possible like replacing empty inlined
functions with macros for the thread-less case, as building at -O0 disables
inlining and causes these ones to be emitted. But this really is cosmetic.
2020-06-11 10:18:56 +02:00
..
acl.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
action.h MINOR: http-rules: Use an action function to eval http-request auth rules 2020-05-28 15:07:20 +02:00
activity.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
applet.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
arg.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
auth.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
backend.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
capture.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
channel.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
checks.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
cli.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
compression.h CLEANUP: assorted typo fixes in the code and comments 2020-04-16 10:04:36 +02:00
connection.h REORG: include: move ist.h from common/ to import/ 2020-06-11 10:18:56 +02:00
counters.h MINOR: counters: Remove failed_secu counter and use denied_resp instead 2020-01-20 15:18:45 +01:00
dict.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
dns.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
fcgi-app.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
fd.h CLEANUP: threads: remove a few needless includes of hathreads.h 2020-06-11 10:18:56 +02:00
filters.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
freq_ctr.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
global.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
hlua.h CLEANUP: assorted typo fixes in the code and comments 2020-04-16 10:04:36 +02:00
http_ana.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
http_htx.h REORG: include: split buf.h into haproxy/buf-t.h and haproxy/buf.h 2020-06-11 10:18:56 +02:00
lb_chash.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
lb_fas.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
lb_fwlc.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
lb_fwrr.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
lb_map.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
listener.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
log.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
mailers.h MINOR: mailers: make it possible to configure the connection timeout 2016-02-20 15:33:06 +01:00
map.h CLEANUP: assorted typo fixes in the code and comments 2020-04-16 10:04:36 +02:00
obj_type.h MINOR: checks/obj_type: Add a new object type for checks 2020-04-27 09:39:38 +02:00
pattern.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
peers.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
pipe.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
port_range.h BUG/MEDIUM: port_range: Make the ring buffer lock-free. 2019-04-30 15:10:17 +02:00
proto_udp.h MEDIUM: protocol: add minimalist UDP protocol client 2015-06-13 22:07:35 +02:00
protocol.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
protocol_buffers.h MINOR: sample: Rework gRPC converter code. 2019-03-05 11:04:23 +01:00
proxy.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
queue.h CLEANUP: threads: remove a few needless includes of hathreads.h 2020-06-11 10:18:56 +02:00
ring.h REORG: include: split buf.h into haproxy/buf-t.h and haproxy/buf.h 2020-06-11 10:18:56 +02:00
sample.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
server.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
session.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
shctx.h MINOR: shctx: Change max. object size type to unsigned int. 2018-10-26 04:54:40 +02:00
signal.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
sink.h REORG: include: move ist.h from common/ to import/ 2020-06-11 10:18:56 +02:00
spoe.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
ssl_ckch.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
ssl_crtlist.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
ssl_sock.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00
stats.h MINOR: stats: Report internal errors in the proxies/listeners/servers stats 2020-01-20 15:18:45 +01:00
stick_table.h REORG: ebtree: move the include files from ebtree to include/import/ 2020-06-11 09:31:11 +02:00
stream.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
stream_interface.h REORG: include: update all files to use haproxy/api.h or api-t.h if needed 2020-06-11 10:18:42 +02:00
task.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
trace.h REORG: include: split mini-clist into haproxy/list and list-t.h 2020-06-11 10:18:56 +02:00
vars.h REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h 2020-06-11 10:18:56 +02:00