On Thu Jan 25 01:02:39 2024 +0000, Paul Gofman wrote:
Sorry. I confused it with `pthread_sigqueue(3)`.
but this is inprocess, we need to send from server;
It enables us to attach a payload to `SOGUSR1`. Of course, if we can
allocate a separate signal for ourselves, it seems better to use just that. sigqueue doesn't seem to allow to specify a thread for signal. If you still think that this can be used for our purpose somehow, may I ask you to elaborate a bit more how exactly?
There's `SYS_rt_tgsigqueueinfo` on Linux, but that's of course not at all portable.