aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-07-08 15:43:19 -0700
committerAndy McFadden <fadden@android.com>2010-07-08 17:17:15 -0700
commitb122c8b1030e4da9cbc0e7e401a72e1d614e9c3e (patch)
tree1df23dadcbfcf0fd6f72b6b6ef286cc5d3f08f07 /vm/compiler/codegen/CompilerCodegen.h
parente5289ebcda44ae0167d29f482cbb521f51e49f96 (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