Fixed Windows tMPI_Thread_self().
authorSander Pronk <pronk@kth.se>
Wed, 28 Nov 2012 08:49:51 +0000 (09:49 +0100)
committerSander Pronk <pronk@kth.se>
Wed, 28 Nov 2012 08:49:51 +0000 (09:49 +0100)
commit053bf71a93e33e1e378f8341c58f46a8b762cf93
tree0fec72cc81f42e1e9f90a4e5405201e538b373aa
parent4b966cf1c44d954511e3c890c49e914db2cc0be3
Fixed Windows tMPI_Thread_self().

The Windows version of tMPI_Thread_self() does not use thread
local storage any more (this was incompatible with dynamic libraries)
Instead, it relies on a global list for Windows thread ID to tMPI
thread object mapping.

Change-Id: Ib709290e5bcfacf4e564221f49df933cbff0fd3c
src/gmxlib/thread_mpi/winthreads.c
src/gmxlib/thread_mpi/winthreads.h