summaryrefslogtreecommitdiffstats
path: root/source/cThread.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-23 15:26:29 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-23 15:26:29 +0100
commitaa392170a2b0fc392c8203a4b31301eb7c94890e (patch)
tree3ab9ec0b2046dd25f7221dbfad563befdb83469c /source/cThread.h
parentDigging leaves with shears now drops leaves (diff)
downloadcuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar
cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.gz
cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.bz2
cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.lz
cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.xz
cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.tar.zst
cuberite-aa392170a2b0fc392c8203a4b31301eb7c94890e.zip
Diffstat (limited to '')
-rw-r--r--source/cThread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/cThread.h b/source/cThread.h
index 1e9d73c17..f2cd8a75d 100644
--- a/source/cThread.h
+++ b/source/cThread.h
@@ -5,7 +5,7 @@ class cThread
{
public:
typedef void (ThreadFunc)(void*);
- cThread( ThreadFunc a_ThreadFunction, void* a_Param );
+ cThread( ThreadFunc a_ThreadFunction, void* a_Param, const char* a_ThreadName = 0 );
~cThread();
void Start( bool a_bWaitOnDelete = true );
@@ -22,4 +22,6 @@ private:
void* m_Param;
cEvent* m_Event;
cEvent* m_StopEvent;
+
+ char* m_ThreadName;
}; \ No newline at end of file