|
From: Nicholas N. <nj...@ca...> - 2004-10-13 10:04:57
|
Hi, I don't understand this stuff so well, but here goes anyway... On Wed, 13 Oct 2004, Tom Hughes wrote: > The problem is that VG_(gettid) needs to get the ID of the current > thread and it assumes that if the gettid system call returns ENOSYS > then the getpid system call will do that. Is that assumption valid? > This seems to work, but it is horrible, so what do people think about > putting it in? or does anybody have a better way to get the real ID of > the current thread on these systems? What does the patch look like? Is it big, or small but conceptually horrible? If the latter, I would say put it in if it works and fixes a problem that is affecting a number of people. Just my two cents. N |