[Webkit-unassigned] [Bug 171162] New: [JSC] Get stack pointer without pthread attr
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Apr 22 09:00:25 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=171162
Bug ID: 171162
Summary: [JSC] Get stack pointer without pthread attr
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: utatane.tea at gmail.com
pthread_ attr operations are not safe for calling it when the thread is suspended since it can invoke malloc / free.
We would like to retrieve stack pointer without using pthread attr operations, like,
NEVER_INLINES void* getPossibleStackPointer()
{
volatile void* stackLocation = nullptr;
return &stackLocation;
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170422/a657e19e/attachment.html>
More information about the webkit-unassigned
mailing list