Files
palladum-lightning/tests/plugins
Rusty Russell a4f772efa7 lightningd: avoid race when runtime-added plugins register hooks.
If we add a new hook, not at the end, while hooks are getting called,
then iteration could be messed up (e.g. calling a plugin twice, or
skipping one).

The simplest thing is to defer updates until nobody is calling the
hook.  In theory this could livelock, in practice it won't.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2025-11-20 16:30:50 +10:30
..
2023-09-26 19:21:05 +02:00
2025-08-11 11:06:22 +09:30
2025-08-18 14:57:46 +09:30
2023-08-06 14:37:49 +09:30
2024-05-08 22:32:13 -05:00
2022-09-21 11:25:47 +02:00