diff options
author | Brian Paul <brianp@vmware.com> | 2015-03-04 19:17:57 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-03-05 06:59:43 -0700 |
commit | 458c7490c29ef2960a33a089f65490e044da5d27 (patch) | |
tree | ed6a48f2a292815dc2fa17e2925aa5149f23ab1c /common.py | |
parent | 6b5eb7bce6ac5351b0c96252a1c8738f51834e1d (diff) | |
download | external_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