Files
ardour/libs/pbd
Paul Davis ebda6bf0c5 rework PBD::Signal emission code to avoid memory allocation
We now use a stack allocator when making a copy of current connection state at
the start of the signal emission process, and when collecting results from
signal handlers in the case of a non-void return type.

These changes also include a functionally neutral reworking of how the connection
state copy is made and then used to check that a connection/handler is still
valid mid-emission.

Heap allocation will still happen if a signal has more than (currently) 512
connections. A little experimentation reveals that the maximum number of
connections is typically nroutes+1, so 512 seems like a reasonable choice
for this.
2025-04-16 09:09:57 -06:00
..
2022-04-23 23:12:13 +02:00
2020-03-18 18:16:29 +01:00
2020-10-13 21:27:16 +02:00
2021-06-26 18:47:08 -06:00
2022-12-11 11:54:03 -05:00
2020-12-02 21:34:52 +01:00
2022-11-13 03:01:50 +01:00
2020-10-13 21:27:16 +02:00
2022-09-10 10:20:37 +01:00
2021-06-26 18:40:44 -06:00