aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2012-08-29 20:25:37 +0200
committerWladimir J. van der Laan <[email protected]>2012-08-29 20:25:37 +0200
commit4d1d94c56cf60e22e9199f8c37c5634752b570f5 (patch)
treefff3e36bee446458372cbed586c8e65dd94b6c94 /src/util.cpp
parentimplement CreateThread with boost::thread (diff)
downloaddiscoin-4d1d94c56cf60e22e9199f8c37c5634752b570f5.tar.xz
discoin-4d1d94c56cf60e22e9199f8c37c5634752b570f5.zip
Rename CreateThread to NewThread
Prevent clash with win32 API symbol
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index ec24ee403..d1270348e 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1300,7 +1300,7 @@ void RenameThread(const char* name)
#endif
}
-bool CreateThread(void(*pfn)(void*), void* parg)
+bool NewThread(void(*pfn)(void*), void* parg)
{
try
{