[concurrency-interest] why thread implement transform thread nameto char?
dcholmes at optusnet.com.au
Tue Aug 15 03:26:58 EDT 2006
That would be to make it easier to access the thread name from within C code
in the VM. Just a guess. :) I don't think this is really an issue today but
this code has been around a long time.
From: concurrency-interest-bounces at cs.oswego.edu
[mailto:concurrency-interest-bounces at cs.oswego.edu]On Behalf Of yangjs
Sent: Tuesday, 15 August 2006 4:05 PM
To: concurrency-interest at cs.oswego.edu
Subject: [concurrency-interest] why thread implement transform thread
When I read Thread implement code, I found when set thread name , name
is String type ,the thread implement code will transform String to
char,when getName(), then transform to String!
who can explain ?why?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest