On Thu, May 02, 2024 at 01:33:45PM +0500, Andrey M. Borodin wrote: > That seems to prevent meaningful use case. If we want exactly one > session to be waiting just before some specific point, the only way > to achieve this is to create local injection point. But the session > must be resumable from another session. > Without this local waiting injection points are meaningless.
I am not quite sure to follow your argument here. It is still possible to attach a local injection point with a wait callback that can be awaken by a different backend: s1: select injection_points_set_local(); s1: select injection_points_attach('popo', 'wait'); s1: select injection_points_run('popo'); -- waits s2: select injection_points_wakeup('popo'); s1: -- ready for action. A detach is not a wakeup. -- Michael
signature.asc
Description: PGP signature