Make debug easier by naming threads.

This commit is contained in:
JoelKatz
2013-03-20 05:41:08 -07:00
parent f3400d88fc
commit 9ceb380cb8
6 changed files with 50 additions and 2 deletions

View File

@@ -286,6 +286,8 @@ template<typename T, typename U> T range_check_cast(const U& value, const T& min
bool parseUrl(const std::string& strUrl, std::string& strScheme, std::string& strDomain, int& iPort, std::string& strPath);
extern void NameThread(const char *);
#if (!defined(FORCE_NO_C11X) && (__cplusplus > 201100L)) || defined(FORCE_C11X)
#define C11X