Re: [Mesa-dev] [PATCH] swr/rast: quit using linux-specific gettid()

2017-07-21 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On Jul 21, 2017, at 11:46 AM, Tim Rowley wrote: > > Linux-specific gettid() syscall shouldn't be used in portable code. > Fix does assume a 1:1 thread:LWP architecture, but works for our > current target platforms and can be revisited later if needed. > > Fixes u

Re: [Mesa-dev] [PATCH] swr/rast: quit using linux-specific gettid()

2017-07-21 Thread Emil Velikov
On 21 July 2017 at 17:46, Tim Rowley wrote: > Linux-specific gettid() syscall shouldn't be used in portable code. > Fix does assume a 1:1 thread:LWP architecture, but works for our > current target platforms and can be revisited later if needed. > I'm not familiar with the code, so just a (not so)

[Mesa-dev] [PATCH] swr/rast: quit using linux-specific gettid()

2017-07-21 Thread Tim Rowley
Linux-specific gettid() syscall shouldn't be used in portable code. Fix does assume a 1:1 thread:LWP architecture, but works for our current target platforms and can be revisited later if needed. Fixes unresolved symbol in linux scons builds. Cc: mesa-sta...@lists.freedesktop.org Cc: Emil Velikov