Bug 138964

Summary: wtf: Implement thread naming for linux with glibc < 2.12 / other libcs
Product: WebKit Reporter: cand <cand>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: benjamin, cmarcelo, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: Linux   
Attachments:
Description Flags
Thread name patch
none
Thread name patch v2 bfulgham: review-

Description cand 2014-11-21 07:30:43 PST
Created attachment 242045 [details]
Thread name patch

Add support for naming threads on Linux. setname_np is only available on recent glibc, whereas prctl is there on every libc.

The scavenger thread name is shortened a bit, as the Linux limit is 15 chars.
Comment 1 WebKit Commit Bot 2014-11-21 07:33:21 PST
Attachment 242045 [details] did not pass style-queue:


ERROR: Source/WTF/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 2 cand 2014-11-21 07:46:46 PST
Created attachment 242046 [details]
Thread name patch v2
Comment 3 Brent Fulgham 2016-03-14 11:43:43 PDT
Comment on attachment 242046 [details]
Thread name patch v2

This patch is too old to apply. Please revise and upload a new patch so it can be considered.
Comment 4 cand 2016-03-14 13:35:39 PDT
Sorry, I'm not going to bother. The webkit project has made it abundantly clear they do not want outside contributions, not just with this patch (seriously, taking two years to reply!).