[Webkit-unassigned] [Bug 15939] Add currentThread API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 11 21:25:40 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=15939
aroben at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #17179|review? |review+
Flag| |
------- Comment #2 from aroben at apple.com 2007-11-11 21:25 PDT -------
(From update of attachment 17179)
+static ThreadIdentifier identifierByPthreadHandle(pthread_t& pthreadhandle)
The parameter should be marked const (ditto for the ThreadingGtk version).
+ for (; i != threadMap().end(); ++i) {
+ if (i->second == thread))
+ return i->first;
+ }
You don't need the braces around the body of the loop.
r=me
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list