Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 25 Jan 2023 17:45:46 +0100 | From | Oleg Nesterov <> | Subject | Re: [RFC PATCH v2] posix-timers: Support delivery of signals to the current thread |
| |
On 01/25, Oleg Nesterov wrote: > > > 2. The signal is still queued into process shared_pending > > Yes. But just in case, please note that if this signal is not realtime > (sigev_signo < SIGRTMIN) and it is already queued, it will be dropped. > And I do not know if this can work for you. > > However this is what we already have with SIGEV_SIGNAL w/o SIGEV_THREAD_ID, > and the same is true for SIGEV_THREAD_ID if the signal is already pending in > target_task->pending.
Damn ;) please ignore. I forgot that send_sigqueue() doesn't check legacy_queue().
Oleg.
| ![\](/images/icornerr.gif) |