[Mesa-dev] [PATCH] swr/rast: quit using linux-specific gettid()
Emil Velikov
emil.l.velikov at gmail.com
Fri Jul 21 18:14:41 UTC 2017
On 21 July 2017 at 17:46, Tim Rowley <timothy.o.rowley at intel.com> 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) crazy idea.
Add the assumption as an inline comment by the sprintf?
In either case - thanks for sorting this out.
Glad we have those sorted before it went poof.
-Emil
More information about the mesa-dev
mailing list