|
From: <axl...@us...> - 2009-05-14 10:57:53
|
Revision: 242
http://hgengine.svn.sourceforge.net/hgengine/?rev=242&view=rev
Author: axlecrusher
Date: 2009-05-14 10:57:45 +0000 (Thu, 14 May 2009)
Log Message:
-----------
method to find current thread id
Modified Paths:
--------------
Mercury2/src/MercuryThreads.h
Modified: Mercury2/src/MercuryThreads.h
===================================================================
--- Mercury2/src/MercuryThreads.h 2009-05-14 10:53:50 UTC (rev 241)
+++ Mercury2/src/MercuryThreads.h 2009-05-14 10:57:45 UTC (rev 242)
@@ -44,6 +44,8 @@
// inline void Exit() { pthread_exit(NULL); }
inline void HaltOnDestroy(bool t) { m_haltOnDestroy = t; }
+
+ static unsigned long Current();
private:
MString m_name;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|