RESOLVED FIXED 126105
Replace yield() and pauseBriefly() with std::this_thread::yield()
https://bugs.webkit.org/show_bug.cgi?id=126105
Summary Replace yield() and pauseBriefly() with std::this_thread::yield()
Anders Carlsson
Reported 2013-12-20 18:34:42 PST
Replace yield() and pauseBriefly() with std::this_thread::yield()
Attachments
Patch (5.38 KB, patch)
2013-12-20 18:36 PST, Anders Carlsson
no flags
attempt to reland (7.71 KB, patch)
2013-12-30 12:53 PST, Roger Fong
no flags
wrong patch uploaded before (4.10 KB, patch)
2013-12-30 14:00 PST, Roger Fong
no flags
Anders Carlsson
Comment 1 2013-12-20 18:36:55 PST
WebKit Commit Bot
Comment 2 2013-12-20 21:19:49 PST
Comment on attachment 219824 [details] Patch Clearing flags on attachment: 219824 Committed r160959: <http://trac.webkit.org/changeset/160959>
WebKit Commit Bot
Comment 3 2013-12-20 21:19:51 PST
All reviewed patches have been landed. Closing bug.
WebKit Commit Bot
Comment 4 2013-12-24 12:59:04 PST
Re-opened since this is blocked by bug 126222
Roger Fong
Comment 5 2013-12-30 12:53:39 PST
Created attachment 220121 [details] attempt to reland windows build fix has been landed, attempting to reland this patch
Roger Fong
Comment 6 2013-12-30 14:00:57 PST
Created attachment 220126 [details] wrong patch uploaded before
WebKit Commit Bot
Comment 7 2013-12-30 18:03:11 PST
Comment on attachment 220126 [details] wrong patch uploaded before Clearing flags on attachment: 220126 Committed r161164: <http://trac.webkit.org/changeset/161164>
WebKit Commit Bot
Comment 8 2013-12-30 18:03:14 PST
All reviewed patches have been landed. Closing bug.
Pascal Jacquemart
Comment 9 2014-01-06 10:14:02 PST
Hi, I understand the commit but unfortunately it seems to break our cross compilation for ARM This is a silly issue in ARM toolchain (based gcc 4.7.4) since this std::this_thread::yield() is defined under compilation flags which are not set by the compiler A simple but dirty solution was to add those flags into Source/autotools/SetupCompilerFlags.m4 Are you aware about such compilation issue? Do you see a more appropriate location to stuff these flags? Thanks, Pascal Jacquemart
Anders Carlsson
Comment 10 2014-01-06 10:18:25 PST
(In reply to comment #9) > Hi, > > I understand the commit but unfortunately it seems to break our cross compilation for ARM > > This is a silly issue in ARM toolchain (based gcc 4.7.4) since this std::this_thread::yield() is defined under compilation flags which are not set by the compiler > > A simple but dirty solution was to add those flags into > Source/autotools/SetupCompilerFlags.m4 > > Are you aware about such compilation issue? > Do you see a more appropriate location to stuff these flags? > I'm not aware of this problem existing on other platforms. Putting the workaround in SetupCompilerFlags.m4 sounds sensible to me.
Note You need to log in before you can comment on or make changes to this bug.