lkml.org 
[lkml]   [2008]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/3] signals: sigqueue_free: don't free sigqueue if it is queued
Date
> Oh well. I just realized SIGQUEUE_CANCELLED breaks sys_sigpending() ?

Yes, it does. Well, POSIX says after timer_delete "the disposition of
pending signals for the deleted timer is unspecified". So perhaps one can
say that "unspecified" here can include sigpending() says it's pending but
it will disappear when delivered or accepted (means sigwait()). But it's a
bit of a stretch.

Just properly removing the sigqueue entry and fixing the pending set is
looking pretty good. Why was it we didn't do that?


Thanks,
Roland


\
 
 \ /
  Last update: 2008-05-21 20:45    [W:0.096 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site