Bug 138964 - wtf: Implement thread naming for linux with glibc < 2.12 / other libcs
Summary: wtf: Implement thread naming for linux with glibc < 2.12 / other libcs
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Linux
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-21 07:30 PST by cand
Modified: 2016-03-14 13:35 PDT (History)
3 users (show)

See Also:


Attachments
Thread name patch (1.95 KB, patch)
2014-11-21 07:30 PST, cand
no flags Details | Formatted Diff | Diff
Thread name patch v2 (2.02 KB, patch)
2014-11-21 07:46 PST, cand
bfulgham: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!).