mapi/u_thread: Use GetCurrentThreadId
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 3 Mar 2014 14:55:41 +0000 (14:55 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 4 Mar 2014 12:05:23 +0000 (12:05 +0000)
commite8d85034dad37177fce780ee3e09501e60be6e81
tree802c85614bb8ab7e9dd4744339d3b8aaa033bcb7
parentf34d75d6f69f4c0bf391e0adf1fd469601b01b04
mapi/u_thread: Use GetCurrentThreadId

u_thread_self() expects thrd_current() to return a unique numeric ID
for the current thread, but this is not feasible on Windows.

Cc: "10.0" "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mapi/u_thread.h