lkml.org 
[lkml]   [2004]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: zombie with CLONE_THREAD


On Thu, 1 Jul 2004, Roland McGrath wrote:
> >
> > list_for_each_safe(..)
>
> You know, I never really looked at the macros, but seeing "_safe" here made
> me think that exactly this is what it's safe from. That was obviously a
> silly thing to think, since it's clearly just safe from removing the list
> element during the iteration.

Right. I'd love to say it's "always safe", but obviously that is not
technically possible. I agree that the name is misleading, and it is more
about "can_delete" than about being "safe".

Anyway, I applied your/Andrea's patch (I happened to read email backwards
this morning, so I saw Andrea's first).

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.059 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site