Tony Butt
2004-05-04 03:09:57 UTC
I had a requirement to be able to explicitly set the name of a posix thread,
made some simple changes to posix/current/src/pthread.cxx and
posix/current/include/types.h, and can now optionally set the name of a
posix thread created using pthread_create.
The name is set by assigning a value to pthread_attr.name before calling
pthread_create().
A patch to do this is attached. If this should be sent anywhere else, please
let me know...
Tony Butt
Software Engineer
CEA Technologies
***@cea.com.au
Ph: 02 62130195
Fax: 02 62130013
made some simple changes to posix/current/src/pthread.cxx and
posix/current/include/types.h, and can now optionally set the name of a
posix thread created using pthread_create.
The name is set by assigning a value to pthread_attr.name before calling
pthread_create().
A patch to do this is attached. If this should be sent anywhere else, please
let me know...
Tony Butt
Software Engineer
CEA Technologies
***@cea.com.au
Ph: 02 62130195
Fax: 02 62130013