gettid() fix
gettid() fix

cbratschi/aminogfx-gl,cbratschi/aminogfx-gl,joshmarinacci/aminogfx-gl,cbratschi/aminogfx-gl,cbratschi/aminogfx-gl,joshmarinacci/aminogfx-gl,joshmarinacci/aminogfx-gl,joshmarinacci/aminogfx-gl,joshmarinacci/aminogfx-gl,cbratschi/aminogfx-gl