public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/9715] New: support modification-safe foreach
@ 2009-01-06 17:53 mhiramat at redhat dot com
  0 siblings, 0 replies; only message in thread
From: mhiramat at redhat dot com @ 2009-01-06 17:53 UTC (permalink / raw)
  To: systemtap

As like as hlist_for_each_safe() in the kernel.
This feature will allow us to filter or update array data.

ex.
foreach (pid in data) {
  if (pid != XXX)
    delete data[pid]
}

-- 
           Summary: support modification-safe foreach
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mhiramat at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=9715

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-06 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-06 17:53 [Bug translator/9715] New: support modification-safe foreach mhiramat at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).