summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-03-04 19:17:57 -0700
committerBrian Paul <brianp@vmware.com>2015-03-05 06:59:43 -0700
commit458c7490c29ef2960a33a089f65490e044da5d27 (patch)
treeed6a48f2a292815dc2fa17e2925aa5149f23ab1c /common.py
parent6b5eb7bce6ac5351b0c96252a1c8738f51834e1d (diff)
downloadexternal_mesa3d-458c7490c29ef2960a33a089f65490e044da5d27.zip
external_mesa3d-458c7490c29ef2960a33a089f65490e044da5d27.tar.gz
external_mesa3d-458c7490c29ef2960a33a089f65490e044da5d27.tar.bz2
mapi: rewrite u_current_init() function without u_thread_self()
Remove u_thread_self() since u_thread.h is going away soon. Create a simple thread ID abstraction which wraps WIN32 or c11 threads. This also gets rid of the questionable casting of thrd_t to an unsigned long. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions