[Webkit-unassigned] [Bug 25325] New: Make sure pthread_self() is defined before it gets called in Collector.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 22 08:53:05 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25325

           Summary: Make sure pthread_self() is defined before it gets
                    called in Collector.cpp
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: laszlo.1.gombos at nokia.com


On some Unix-like platforms Collector.cpp fails to compile because pthread.h
does not get included. The problem might be specific to those WebKit ports
where neither WTF_USE_PTHREADS nor JSC_MULTIPLE_THREADS is defined (e.g. Qt
port on Linux/FREEBSD/NETBSD).

The currentThreadStackBase() in Collector.cpp calls pthread_self() on most
Unix-like platforms. OPENBSD includes pthread.h explicitly but none of the
other Unix-like platforms do so. On the Qt Linux WebKit build, pthread.h gets
implicitly included from algorithm, which makes the Qt Unix-like builds
dependent on a particular STL implementation.


-- 
Configure bugmail: https://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