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

2017-07-21 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On Jul 21, 2017, at 2:17 PM, 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 unr

[Mesa-dev] [PATCH v2] 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. v2: add comment in code about the 1:1 assumption. Cc: