diff options
| author | Andy McFadden <fadden@android.com> | 2010-07-08 15:43:19 -0700 |
|---|---|---|
| committer | Andy McFadden <fadden@android.com> | 2010-07-08 17:17:15 -0700 |
| commit | b122c8b1030e4da9cbc0e7e401a72e1d614e9c3e (patch) | |
| tree | 1df23dadcbfcf0fd6f72b6b6ef286cc5d3f08f07 /vm/compiler/codegen/CompilerCodegen.h | |
| parent | e5289ebcda44ae0167d29f482cbb521f51e49f96 (diff) | |
Fix thread names.
The prctl() call we were using politely truncates overly-long strings.
The pthread_setname_np() call returns ERANGE. This adds a buffer
copy to create a truncated string.
I'm strongly tempted to just back out the previous change and go
back to using prctl(), but there's probably some value in using a
pthread call, even if it is _np (and appears to exist but declared
differently on other platforms).
Change-Id: Ib692ea0e225f691e4888b27883c61f7701272245
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions
