/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2012, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
/* Make this the running thread. */
loc_RunThisThread(NULL);
- logerror("NT pthreads initialized");
return 0;
}
empth_t *
empth_self(void)
{
- empth_t *pThread = TlsGetValue(dwTLSIndex);
-
- return pThread;
+ return ppvUserData ? TlsGetValue(dwTLSIndex) : NULL;
}
/************************