summaryrefslogtreecommitdiff
path: root/src/common/thread.h
diff options
context:
space:
mode:
authorblacksirius <blacksirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-03 20:09:39 +0000
committerblacksirius <blacksirius@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-03 20:09:39 +0000
commitd6087662f5c19b693a000126d02ced43aad5d2f7 (patch)
treea0d47db14bdef86ae7c3a807a1bec1fe900fd82b /src/common/thread.h
parent5f1c9ba7595827ee77b7d786a22177c13da4b001 (diff)
downloadhercules-d6087662f5c19b693a000126d02ced43aad5d2f7.tar.gz
hercules-d6087662f5c19b693a000126d02ced43aad5d2f7.tar.bz2
hercules-d6087662f5c19b693a000126d02ced43aad5d2f7.tar.xz
hercules-d6087662f5c19b693a000126d02ced43aad5d2f7.zip
thread api: added support for platforms without TLS (Thread Local Storage) support (usually older OSX llvm versions ..)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16226 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/thread.h')
-rw-r--r--src/common/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/thread.h b/src/common/thread.h
index d4027811f..8d3441868 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -62,7 +62,8 @@ rAthread rathread_self( );
/**
* Returns own thrad id (TID)
*
- * @note this is not the operating system THREAD ID!
+ * @note this is an unique identifier for the calling thread, and
+ * depends on platfrom / compiler, and may not be the systems Thread ID!
*
* @return -1 when fails, otherwise >= 0
*/