Re: Do we really need curr_target in signal_struct ?
From: Rakib Mullick
Date: Tue Jan 28 2014 - 23:46:10 EST
On Wed, Jan 29, 2014 at 10:09 AM, Rakib Mullick <rakib.mullick@xxxxxxxxx> wrote:
> On Tue, Jan 28, 2014 at 10:43 PM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>> On 01/28, Rakib Mullick wrote:
>>
>> You could simply do while_each_thread(p, t) to find a thread which
>> wants_signal(..).
>>
> Yes, while_each_thread() is much nicer than get_nr_thread(), thanks for
> the pointer.
>
Or, should we use for_each_thread()? Just noticed that, you've plan to remove
while_each_thread().
Thanks,
Rakib
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/